I am working on something that will save a page using the current
timestamp in readable format.
The format would be expressed as: YYYY-MM-DD_HH:MM:SS
Using the time function If I use: %Y-%m-%d_%H:%M:%S
However, if I use that I get unexpected output...
[(time {now} '%Y-%m-%d_%H:%M:%S')]
I get: 1253393200
If I change the underscore to a dash or a space it works just fine...
[(time {now} '%Y-%m-%d %H:%M:%S')]
I get what I expect... 2009-09-19 13:45:44
[(time {now} '%Y-%m-%d-%H:%M:%S')]
I get: 2009-09-19-13:45:44
Seems that the underscore messes up the format string...
Not sure what the issue is as underscore can be used in the PHP
strftime function. I took a look at the BOLTFtime function but really
didn't see anything stand out.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---