Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Re: Computing Oracle date format from a date string

by Rhose (Priest)
on Aug 23, 2002 at 19:56 UTC ( #192427=note: print w/replies, xml ) Need Help??

in reply to Re: Computing Oracle date format from a date string
in thread Computing Oracle date format from a date string

Yep, I threw together a quick script which might give you a starting point -- it should dump the dates out in 'YYYY-MM-DD HH24:MI:SS' format.

#!/usr/bin/perl -w use strict; $ENV{TZ} = 'EST5EDT'; use Date::Manip; my $gDate; while(<DATA>) { $gDate = ParseDate($_); print UnixDate($gDate,'%Y-%m-%d %H:%M:%S'),"\n"; } __DATA__ 2002-08-23 11:39:24.0 Fri Aug 23 12:14:04 2002

Update: Your timezone may be different. *Smiles*

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://192427]
[LanX]: cho: your joke has very limited impact on a non German+Czech speaking board ... we need to create one and invite Lichtkind and "Peta...Monk"
[Eily]: I still don't understand how the Turkish AA fit into the German+Czech joke though :P
[LanX]: new Firefox + cb sidebar do random auto expand on submit

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-03-27 12:08 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (319 votes). Check out past polls.