[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] convert from 'date +"%H-%M %m-%d-%Y"' to seconds from 1970



Hi,

maybe a stupid question, is there a way to translate a `date +"%H-%M %m-%d-%Y"` (or similar) into a HTC usable 'seconds-since-1970' maybe using time() or formatTime() inside a classadd string ? 

I know formatTime() works the other way round but I would like to do some START calculation based on a date given by the user which would be more conveniant to be in 'human readable' format ...

Best
christoph


-- 
Christoph Beyer
DESY Hamburg
IT-Department

Notkestr. 85
Building 02b, Room 009
22607 Hamburg

phone:+49-(0)40-8998-2317
mail: christoph.beyer@xxxxxxx