View previous topic :: View next topic |
Author |
Message |
Aslan Valued Contributor
Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sun Feb 15, 2009 5:40 am Post subject: Extend datetime |
|
|
If there is ever an update to VDS again I would like to see the @datetime()
funtion extended to include milliseconds,maybe even ticks,and timezone info.
Also some simpler datetime math would be nice.
e.g. @datetime(yyyy/mm/dd hh:nn:ss,,m|-2,d|-3) meaning the current datetime minus 2 months and 3 days.
I know this can currently be done with API or floating point math but, it would be nice if it were integrated into the actual function. |
|
Back to top |
|
|
vdsalchemist Admin Team
Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Mon Feb 16, 2009 2:29 pm Post subject: |
|
|
Aslan,
In VDS 6 Jules added the z format which allows @datetime() to return the milliseconds. I should be able to add to these options to that enhanced version of @datetime() that I gave you that you are testing for me. _________________ Home of
Give VDS a new purpose!
|
|
Back to top |
|
|
Aslan Valued Contributor
Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Wed Feb 18, 2009 4:57 am Post subject: |
|
|
Ah... another undocumented feature I suppose |
|
Back to top |
|
|
jrmarquart Valued Newbie
Joined: 12 Jun 2004 Posts: 28 Location: Boise, ID
|
Posted: Sun Feb 22, 2009 4:28 pm Post subject: |
|
|
Can you pass milliseconds to timers in VDS 6 (from the examples it appears the lowest increment is in seconds)? If not this would also be a nice feature to add in a future version of VDS. |
|
Back to top |
|
|
|