forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Extend datetime

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Sun Feb 15, 2009 5:40 am    Post subject: Extend datetime Reply with quote

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
View user's profile Send private message Send e-mail
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Feb 16, 2009 2:29 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Wed Feb 18, 2009 4:57 am    Post subject: Reply with quote

Ah... another undocumented feature I suppose Smile
Back to top
View user's profile Send private message Send e-mail
jrmarquart
Valued Newbie


Joined: 12 Jun 2004
Posts: 28
Location: Boise, ID

PostPosted: Sun Feb 22, 2009 4:28 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group