Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Converting localtime to SQL format

by crenz (Priest)
on Mar 30, 2005 at 08:55 UTC ( #443379=note: print w/replies, xml ) Need Help??


in reply to Re: Converting localtime to SQL format
in thread Converting localtime to SQL format

You provide a good reason to rather use Posix::strftime(): Your solution is wrong since the month is zero-based and you forgot to increment the month.

  • Comment on Re^2: Converting localtime to SQL format

Replies are listed 'Best First'.
Re^3: Converting localtime to SQL format
by blazar (Canon) on Mar 30, 2005 at 09:04 UTC
    You provide a good reason to rather use Posix::strftime(): Your solution is wrong since the month is zero-based and you forgot to increment the month.
    Indeed. Mine was more of an example especially aimed at reminding of different contexts.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://443379]
help
Chatterbox?
[stevieb]: I have learned that my daughter has significant brain injury, so that's affecting my decisions. Don't know who to reach out to. I just want to vent. I am honestly lost. It's something I can't code around.
[stevieb]: I am infuriated at the same time I am hopeless. It appears there are approaches to 'fix' things, but, you know..,

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2017-02-25 04:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (365 votes). Check out past polls.