Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
aking
Newbie


Joined: 17 Oct 2002
Posts: 2
Location: United Kingdom

PostPosted: Thu Oct 17, 2002 8:59 am   

date/timestamp
 
I want to capure some text into a database and include a field for the current local system date and time:

eg. the field would contain 17/10/2002 - 9:45am

The actual formatting of the date and time are not that important as long as they are both capured into the vaiable I have called @timestamp and concatenated.

I cant see any solutions that explain how to capture the date at all.

thanks
Reply with quote
MadBomber
Beginner


Joined: 17 Oct 2002
Posts: 26
Location: USA

PostPosted: Thu Oct 17, 2002 9:28 am   
 
%time(c)

That should be what you are looking for to grab a local system's date/time. For example:

#SH %time(c)
gave me
10/17/2002 2:12:37 AM

Take Care,
MadBomber
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion 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

© 2009 Zugg Software. Hosted by Wolfpaw.net