FAQ

Search Discussions

21 discussions - 45 posts

  • I was thinking this might be a good idea. The one thing we'd lose is the tests built into the FAQ for testing examples. This is a really nice feature, but I think the benefits of moving to a wiki are ...
    Dave RolskyDave Rolsky
    Nov 21, 2005 at 8:23 pm
    Nov 25, 2005 at 12:49 am
  • I'm using DateTime and DateTime::Format::Strptime to convert some third-party data into MySQL-compatible formats and changing the time zone to GMT. The data had PDT as the time zone until this past ...
    Jason BodnarJason Bodnar
    Nov 4, 2005 at 9:51 pm
    Nov 4, 2005 at 10:58 pm
  • Why does time() return a multiple of 60? Surely each time there's a leap second time()%60 should increment? Cheers! Rick Measham
    Rick MeashamRick Measham
    Nov 21, 2005 at 3:14 am
    Nov 21, 2005 at 5:53 am
  • Anyone know how to set the timzone in Date::Manip differently every time DateTime::Format::DateManip- parse_datetime is called? I get dizzy reading the Date::Manip code, but it look like the timezone ...
    Bill MoseleyBill Moseley
    Nov 15, 2005 at 6:24 pm
    Nov 15, 2005 at 10:40 pm
  • I think I've hit upon a fairly sane answer, although it makes the internals of DateTime.pm even yuckier than before (which may be hard to imagine if you've already poked around in some of the methods ...
    Dave RolskyDave Rolsky
    Nov 21, 2005 at 5:46 am
    Nov 21, 2005 at 6:11 am
  • Adding seconds to a date gets stuck when it reaches a leap second: use DateTime; my $dt = DateTime- new( year = 1972, month = 12, day = 31, hour = 23, minute = 59, second = 55, time_zone = "UTC"); ...
    Mike SchilliMike Schilli
    Nov 5, 2005 at 6:28 pm
    Nov 21, 2005 at 5:57 am
  • Thanks Ask, It's due to changes made in DateTime itself a little while back -- date math changed to using UTC rather than local for additions/subtractions. I've CC'd this to the main list ... Dave, ...
    Rick MeashamRick Measham
    Nov 16, 2005 at 6:57 am
    Nov 16, 2005 at 7:44 pm
  • Looks like this example doesn't work: Leap Seconds and Date Math The presence of leap seconds can cause some strange anomalies in date math. For example, the following is a legal datetime: my $dt = ...
    Mike SchilliMike Schilli
    Nov 5, 2005 at 6:11 pm
    Nov 6, 2005 at 3:15 am
  • From the DateTime documentation, I would have thought that leap seconds apply to all time zones (except floating ones), but the following code use DateTime; for my $time_zone (qw(UTC ...
    Mike SchilliMike Schilli
    Nov 5, 2005 at 4:55 pm
    Nov 5, 2005 at 5:35 pm
  • Hi DateTime enthusiasts, DateTime::Format::* objects are accepting a 'time_zone' argument, which lets you conveniently set the time zone in the DateTime object returned by parse_datetime(). However, ...
    Mike SchilliMike Schilli
    Nov 3, 2005 at 9:52 pm
    Nov 4, 2005 at 3:05 pm
  • I've found a bug (and fix) for the Strptime module. If you do this: use DateTime::Format::Strptime; my $dt=new DateTime::Format::Strptime (pattern = '%O'); print $dt- ...
    Clinton GormleyClinton Gormley
    Nov 29, 2005 at 3:00 pm
    Nov 29, 2005 at 3:00 pm
  • Yes! Date::Simple is simple... I use DateTime all time, of course... but the compare o subtract operation is bigger that Date::Simple offer. JoaquinFerrero
    Joaquín FerreroJoaquín Ferrero
    Nov 27, 2005 at 8:38 pm
    Nov 27, 2005 at 8:38 pm
  • I finished moving the site over to a wiki today. I copied all the old content into pages. I also reproduced most of the layout. There's a module, Kwiki::Theme::DateTime, in the CVS repo that ...
    Dave RolskyDave Rolsky
    Nov 26, 2005 at 12:14 am
    Nov 26, 2005 at 12:14 am
  • 0.38 2005-11-21 - Trying to create a DateTime object during DST exactly 11 years in the future (really, 1 year after the end of the pre-generated TZ change data that ships in the package) cause an ...
    Dave RolskyDave Rolsky
    Nov 21, 2005 at 8:35 pm
    Nov 21, 2005 at 8:35 pm
  • I have two values of seconds since the epoch.... $startDate and $endDate. I want to know the number of days between them. Now, I know that I can just subtract and divide, but I assumed I could do ...
    Shane McCarronShane McCarron
    Nov 19, 2005 at 1:52 am
    Nov 19, 2005 at 1:52 am
  • Hi, I'm not whether this is expected behavior or not, but I was trying to calculate the beginning and end of a quarter in epoch time, and I noticed this problem: $dt = DateTime- new(year = 2005,month ...
    Mathieu longtinMathieu longtin
    Nov 18, 2005 at 10:12 pm
    Nov 18, 2005 at 10:12 pm
  • Hi all, I need to set the date and time for system in CGI script which is written in perl. can you help to come out this problem?. Thanks, A.govind
    GovindGovind
    Nov 15, 2005 at 7:35 am
    Nov 15, 2005 at 7:35 am
  • Hi all, I want to generate an array of dates with an epoch not in DST to one in DST with TimeZone enabled. I'm using the following code: use strict; use DateTime; use Data::Dumper; my $fr_12 = ...
    MatMat
    Nov 14, 2005 at 10:47 pm
    Nov 14, 2005 at 10:47 pm
  • This will be hitting your local CPAN mirror shortly. (yes I know I misspelled twilight .. but it's not worth a patch!) Cheers! Rick Measham 1.0700 Sat, 5 Nov 2005 09:44:10 +1100 - The 'Twighlight ...
    Rick MeashamRick Measham
    Nov 4, 2005 at 11:45 pm
    Nov 4, 2005 at 11:45 pm
  • Anybody know who is currently maintaning this module? I hope it's not me. -------- Original Message -------- Subject: Possible Bug in Date::ICal 1.72 Date: Thu, 3 Nov 2005 21:15:49 -0500 (EST) From: ...
    Rich BowenRich Bowen
    Nov 4, 2005 at 11:03 am
    Nov 4, 2005 at 11:03 am
  • On this auspicious New Year day of Vikram Samvat 2062, I wish to announce I'm restarting work on DateTime modules for classical Indian calendars. (There's no actual code yet but by writing here I ...
    Jaldhar H. VyasJaldhar H. Vyas
    Nov 2, 2005 at 10:01 pm
    Nov 2, 2005 at 10:01 pm
Group Navigation
period‹ prev | Nov 2005 | next ›
Group Overview
groupdatetime @
categoriesperl
discussions21
posts45
users19
websitemetacpan.org...
Archives