Convert Seconds
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Convert Seconds
Hi,
When I use the convert fuction on the seconds does it convert the time into GMT time (zero offset)??
Probably a dumb question...
When I use the convert fuction on the seconds does it convert the time into GMT time (zero offset)??
Probably a dumb question...
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Convert Seconds
Yes - from the Dictionary entry for "seconds":
The seconds function returns the total number of seconds since midnight, January 1, 1970 GMT.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Convert Seconds
Cant seem to figure this out though..
Need to convert the seconds into a format like below:(short date and long time)
Example;
01/03/13 10:13:21 PM
with date being "Day/Month/Year"
Need to convert the seconds into a format like below:(short date and long time)
Example;
01/03/13 10:13:21 PM
with date being "Day/Month/Year"
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Convert Seconds
See the convert command in the Dictionary.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Convert Seconds
Figured it out.
For some reason it didnt like the "&&" and needed "and" ????
For some reason it didnt like the "&&" and needed "and" ????