That is what I have been doing at the moment. I use
Time:ParseDate to turn the date into epoch and store that.
Then when I need the formated into something a human can
understand, I use localtime() to change it back.
Someone changed the time zone on the server and it
knocked all the dates out of whack. I had to write a script
to make up for the time zone hour shift to make the dates
right.
Now, did I just do something bone-headed when I chose
that scheme for the dates, or what?
Roy Alan
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|