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

Re^3: Converting localtime to SQL format

by blazar (Canon)
on Mar 30, 2005 at 09:04 UTC ( #443382=note: print w/replies, xml ) Need Help??


in reply to Re^2: 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.
Indeed. Mine was more of an example especially aimed at reminding of different contexts.
  • Comment on Re^3: Converting localtime to SQL format

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://443382]
help
Chatterbox?
LanX just single handedly stopped Brexit!
[Happy-the-monk]: LanX; you did?
[Discipulus]: ah! plastering thanks..
[LanX]: I'd need english subtitles ... like with most English speaking movies...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2018-02-19 10:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (262 votes). Check out past polls.

    Notices?