Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
XP is just a number
 
PerlMonks  

Re: Date::Indian module

by jaldhar (Vicar)
on Jun 11, 2009 at 17:43 UTC ( #770714=note: print w/ replies, xml ) Need Help??


in reply to Date::Indian module

This module is a huge mess. How bad is it? Even the name is wrong. It doesn't deal with "Indian dates" but a particular kind of luni-solar calendar which only one of the several traditionally used in India. And even then it only gives you the basic numbers you need to actually calculate the date. One of these days I will actually release DateTime::Calendar::Indic to CPAN and working with various traditional Indian calendars will be much easier. In the meantime, if you really want to use this module, you call the constructor like this:

my $date = Date::Indian->new( ymd => "YYYY-MM-DD", # month = 1-12 tz => 'HH:MM', # time offset from +Greenwich. Negative if West of Greenwich locn => 'HH:MMD HH:MMD', # longitude and latitude, D = + E or W for longitude and N or S for latitude );

--
જલધર


Comment on Re: Date::Indian module
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2014-04-19 20:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (483 votes), past polls