Add 8 Hours to Date&Time

Viewing 2 reply threads
  • Author
    Posts
  • February 10, 2013 at 1:15 AM #5942

    Jas
    Participant

    Hello Brendan,

    Been using your app on all apple platforms as a work tool. Awesome!

    I’m struggling with a “date & time” calc.

    Need to calc the following:

    (date & time + 8 Hours)

    I’m expecting a return of new (date & time).

    This should be simple, but I’m hitting a mind fart

    Thank you for your continued app support

    James

    February 10, 2013 at 1:29 AM #5943

    Brendan
    Keymaster

    Hello James,

    Actually you’re not having a mind fart :-)

    The result of any date calculation is a duration at this point in time. The result is not another date. So adding 8 hours to a date will get you the number of seconds from January 1, 1970 to the specified, plus 8 hours.

    I will probably add the ability to return another date from a calculation at some point in the future, but it’s not there now.

    Thanks!

    Brendan

    February 10, 2013 at 3:21 AM #5946

    Jas
    Participant

    Brendan,

    Thank you for the quick reply.

    I’m using time calcs in various custom forms that are quite functional.

    I’ll be looking forward to the update. Keep up the good work! :)

    I have my co-workers using your app too!

    James

Viewing 2 reply threads

You must be logged in to reply to this topic.