de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Epoch time (UNIX timestamp)?!?
PostPosted: Sun Mar 17, 2013 9:25 am 
Offline
Veteran
User avatar
Here's one for UNIX users, I expect...

Is there a way in SexScripts/Groovy to convert the getTime result (how many seconds have elapsed since 1/1/1970!!!) into a human-readable "current date"?

Since this "epoch time" is - I'm guessing - a common internal date format but not one most people actually understand, I'd like to have my script get the current date and then relay it to the user in a format they understand ("1st of April, 2013" or "01/04/13 for example).

I understand this isn't so much a SexScripts question as a "how the heck does this strange time/date format even work?" but hopefully someone knows the answer or at least the conversion formula(s) to do it manually (all I could find online were "automatic converters").


Top
 Profile Send private message 
 
 Re: Epoch time (UNIX timestamp)?!?
PostPosted: Sun Mar 17, 2013 10:01 am 
Offline
Site Admin
User avatar
You'll find solutions here : viewtopic.php?f=4&t=189&hilit=date


Top
 Profile Send private message 
 
 Re: Epoch time (UNIX timestamp)?!?
PostPosted: Sun Mar 17, 2013 10:14 am 
Offline
Veteran
User avatar
Thanks! I searched but couldn't find that one! :oops:


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 8 guests


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 post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010 - 2020
This website uses session cookies only.