FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » mktime 2-digit vs 4-digit year
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: mktime 2-digit vs 4-digit year [message #175225 is a reply to message #175223] Sat, 27 August 2011 18:05 Go to previous messageGo to previous message
BKDotCom is currently offline  BKDotCom
Messages: 7
Registered: October 2010
Karma:
Junior Member
Executive decision on my part.
If you pass 85 to my function it will be interpreted literally as year
85 (not 1985)
however, It'll also accept strings for the year. "85" will be
interpreted as 1985. In case someone needs that 2-digit
functionality.

What bonehead is using 2-digit years?! :)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Top 10 Wrong Ideas About PHP
Next Topic: fopen error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 14:00:09 GMT 2024

Total time taken to generate the page: 0.37605 seconds