date to number
eliav schmulewitz
eliavs at GMAIL.COM
Wed Nov 25 10:05:47 EST 2009
hi
i would like to turn a string date to a number
what i have done is this:
'q time'
date=subwrd(result,3)
hour=substr(date,1,3)
day=substr(date,4,2)
year=substr(date,9,10)
'!date -d 'date' +%m'
month=result
but it does not work i think it does not read becuase it is from the shell
does anyone have an idea?
eliav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20091125/0110e0de/attachment.html
More information about the gradsusr
mailing list