Bryce
Posts: 0
Joined: Thu Oct 03, 2013 6:08 am

How can I get the current *database* date/time returned?

I would like to get the current date/time returned to be able to use (ie. display, calcuate on, etc...) in my app.

I want the same date and time source returned for all users (regardless of where they are located), hence I do not want to use the user's date and time on their phone, I want the date and time of the database to be returned.

How can I do this?

Thanks,

Bryce.

Bryce
Posts: 0
Joined: Thu Oct 03, 2013 6:08 am

How can I get the current *database* date/time returned?

Thanks for the quick reply.

That link has a LOT of information on it. Can you be more specific please?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

How can I get the current *database* date/time returned?

For example, if you want to get current UTS time you should use next methods
getUTCHours(),getUTCMinutes(),... . Also you can find examples for all of this methods.
Next doc will show you how to implement this into the appery.io application: http://docs.appery.io/documentation/u...

Bryce
Posts: 0
Joined: Thu Oct 03, 2013 6:08 am

How can I get the current *database* date/time returned?

Great. Thanks.

Return to “Issues”