|
aking Newbie
Joined: 17 Oct 2002 Posts: 2 Location: United Kingdom
|
Posted: 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 |
|
|
|
MadBomber Beginner
Joined: 17 Oct 2002 Posts: 26 Location: USA
|
Posted: 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 |
|
|
|
|
|