Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Getting previous dates from the current date

by Smylers (Pilgrim)
on Mar 29, 2005 at 17:27 UTC ( [id://443198]=note: print w/replies, xml ) Need Help??


in reply to Re: Getting previous dates from the current date
in thread Getting previous dates from the current date

However, a small "proof of concept" won't hurt anyone

Yes it will — it will hurt people who see your code and think that it works! Didn't the clocks change in Portugal on Sunday as well? You can't assume that days will have exactly 24 hours in them.

Smylers

  • Comment on Re^2: Getting previous dates from the current date

Replies are listed 'Best First'.
Re^3: Getting previous dates from the current date
by cog (Parson) on Mar 29, 2005 at 17:53 UTC
    Well, I do say it's a proof of concept, and I even underlined it to note that...

    But you are, of course, correct. People look at code and copy-paste it without looking at nothing else, so... I hope they will at least notice the bold warning at the bottom, which was just placed there.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://443198]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-25 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found