Alpha Video Training
Results 1 to 4 of 4

Thread: How to combine a date and time from two fields into one (date picker)

  1. #1
    Member
    Real Name
    Darren Parsons
    Join Date
    Aug 2015
    Posts
    189

    Default How to combine a date and time from two fields into one (date picker)

    I am working on a time sheet application. I ask my user to select the date that they worked and then the start time and end time. I have it all working great thanks to help from Ghandi last week!. Now I want to make it friendlier and have been playing with the date picker.

    I want the date picker to show only the date in the dateWorked field and then just the times in the startTime and endTime fields. When I customize the date picker for the times, the date does not work and my calculations no longer work. So I was thinking I would put a fields onto the UX for the times and then combine the time with the dateWorked to store and use in my javascript calculations.

    So my question is how do I combine the dateWorked date with the time from startTime into the same field?

    Thanks

  2. #2
    "Certified" Alphaholic
    Real Name
    Govindan Gandhi
    Join Date
    Aug 2008
    Location
    New York, NY
    Posts
    4,294

    Default Re: How to combine a date and time from two fields into one (date picker)

    what have you tried so far and did not succeed?
    thanks for reading

    gandhi

    version 11 3381 - 4096
    mysql backend
    http://www.alphawebprogramming.blogspot.com
    ggandhi344@gmail.com
    Skype:ggandhi344@gmail.com
    1 914 924 5171

  3. #3
    Member
    Real Name
    Darren Parsons
    Join Date
    Aug 2015
    Posts
    189

    Default Re: How to combine a date and time from two fields into one (date picker)

    Quote Originally Posted by GGandhi View Post
    what have you tried so far and did not succeed?
    I tried adding the fields together but did not succeed. Then I used the left function on the date and added to the time which I converted to to a character field and I think I might have figured it out. I did not realize I could have a time picker on a character field. I thought it had to be a date or time.

  4. #4
    "Certified" Alphaholic
    Real Name
    Govindan Gandhi
    Join Date
    Aug 2008
    Location
    New York, NY
    Posts
    4,294

    Default Re: How to combine a date and time from two fields into one (date picker)

    so all good?
    thanks for reading

    gandhi

    version 11 3381 - 4096
    mysql backend
    http://www.alphawebprogramming.blogspot.com
    ggandhi344@gmail.com
    Skype:ggandhi344@gmail.com
    1 914 924 5171

Similar Threads

  1. Change the date picker time region.
    By toshio2011 in forum Mobile & Browser Applications
    Replies: 5
    Last Post: 12-31-2015, 05:05 AM
  2. Date/time picker
    By madtowng in forum Application Server Version 11 - Web/Browser Applications
    Replies: 7
    Last Post: 09-27-2012, 05:31 AM
  3. TIME Field - Date picker still giving DATE and TIME
    By pettechservices in forum Application Server Version 11 - Web/Browser Applications
    Replies: 8
    Last Post: 05-04-2012, 07:18 AM
  4. Will Desktop Users get new Date and Time Picker?
    By johngtatp in forum Alpha Five Version 11 - Desktop Applications
    Replies: 0
    Last Post: 03-06-2012, 01:15 AM
  5. Date Picker not displaying time, only date
    By ChristJC in forum Application Server Version 10 - Web/Browser Applications
    Replies: 0
    Last Post: 09-07-2009, 11:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •