On Mon, 2007-08-13 at 00:25 -0700, Alan wrote:
> On Mon, Aug 13, 2007 at 02:43:04PM +0800, Ow Mun Heng wrote:
> > Been struggling with a new script I'm porting over from bash because
> > perl's DBI is much more elegant than my previous usage of sqsh.
> >
> > I'm having trouble converting from a da
On Mon, Aug 13, 2007 at 02:43:04PM +0800, Ow Mun Heng wrote:
> Been struggling with a new script I'm porting over from bash because
> perl's DBI is much more elegant than my previous usage of sqsh.
>
> I'm having trouble converting from a datetime into a unix epoch
> timestamp.
>
> under bash, th
Ow Mun Heng wrote:
Been struggling with a new script I'm porting over from bash because
perl's DBI is much more elegant than my previous usage of sqsh.
I'm having trouble converting from a datetime into a unix epoch
timestamp.
under bash, this is done.
date = -MM-DD HH:MM:SS
epoch_date = d
Been struggling with a new script I'm porting over from bash because
perl's DBI is much more elegant than my previous usage of sqsh.
I'm having trouble converting from a datetime into a unix epoch
timestamp.
under bash, this is done.
date = -MM-DD HH:MM:SS
epoch_date = date -d "$date" +%s
$
4 matches
Mail list logo