Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: odd or even day?

by trammell (Priest)
on Jan 07, 2006 at 17:39 UTC ( #521730=note: print w/replies, xml ) Need Help??

in reply to odd or even day?

Check your math. You can use paper and pencil to estimate the current day number according to your scheme, then print $var and see if it's in the right ballpark.

Update: quick sanity check: assume there are 365 days in each year. This is 2006, so there have been about 36 * 365 days:

36 * 365 ~ 10 * 36 * 36
         = 10 * 12 * 12 * 9
         ~ 14400

Replies are listed 'Best First'.
Re^2: odd or even day?
by jondkent (Initiate) on Jan 07, 2006 at 18:43 UTC
    This was the reason why I'm using UNIX time to avoid issues such as this. I'm assuming that 'time' provides this, is that correct, I believe so

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://521730]
[LanX]: I pronounce it 'juːmən'
[Your Mother]: Hey, let's not bring antisemitism into the conversation.
[LanX]: for centuries posh English speakers tried to approach French, that's where all the trouble starts
[Eily]: Just another Perl coeurs
[Eily]: (perl with hearts, 'Acker with a French accent is pronunced like coeurs)
[LanX]: IMHO 'ju' for 'u' happens in English where they can't pronounce the French u (or German )
[LanX]: and I'm sure I read that *hotel* used to be pronounced 'otel by the English upperclass
[Your Mother]: American English vowels are pretty lazy/mumbly in general.
[LanX]: talking about antisemitism, youtube automatic subtitles is entertaining shocking sometimes ... like when offering "Fruit Jews" as a drink
[Your Mother]: ...Come on you King of the Juice...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2017-03-27 17:15 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.