finhagen has asked for the wisdom of the Perl Monks concerning the following question:
2) when I parse the date in the spreadsheet it actually is ingested as 39749 (sigh) so my split join script is of no value.#!/usr/bin/perl use strict; use warnings; my $sdate0='10/28/2008'; my @sdate = split /\//, $sdate0; my $sdate1 = join '-', $sdate[2],$sdate[0],$sdate[1]; print "$sdate1\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Converting Julian Dates to Text
by ikegami (Patriarch) on Oct 28, 2008 at 04:04 UTC | |
|
Re: Converting Julian Dates to Text
by almut (Canon) on Oct 28, 2008 at 03:54 UTC | |
by ikegami (Patriarch) on Oct 28, 2008 at 04:18 UTC | |
|
Re: Converting Julian Dates to Text
by CountZero (Bishop) on Oct 28, 2008 at 06:43 UTC | |
by hawtin (Prior) on Oct 28, 2008 at 09:04 UTC | |
|
Re: Converting Julian Dates to Text
by Corion (Patriarch) on Oct 28, 2008 at 18:11 UTC | |
|
Re: Converting Julian Dates to Text
by jmcnamara (Monsignor) on Nov 03, 2008 at 12:41 UTC |