Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Getting previous dates from the current date

by Smylers (Pilgrim)
on Mar 29, 2005 at 17:27 UTC ( #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
Node Status?
node history
Node Type: note [id://443198]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2018-07-15 21:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (326 votes). Check out past polls.

    Notices?