Gossamer Forum
Home : General : Perl Programming :

Date::Calc

Quote Reply
Date::Calc
Hi. I'm trying to use Date::Calc to get the current week number. I just read this part on the official pages;

Quote:
The only exception is the function "Week_Number()", which may in fact return "0" when the given date actually lies in the last week of the PREVIOUS year, and of course the numbers for hours (0..23), minutes (0..59) and seconds (0..59).

.... does that mean it goes 0-51 , or 1-52 in terms of the way it counts the months?

Its very important this work right, otherwise the data will be put in the wrong table Frown

TIA

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Date::Calc Andy 4604 Dec 29, 2003, 1:58 AM
Post Re: [Andy] Date::Calc
Alex 4366 Dec 30, 2003, 7:48 PM