Hi,

this is probably all correct behavior as it is right now (coreutils 6.9):

        $ date +%s
        1204311113
        $ TZ=GMT date +%s
        1204311113
        $ TZ=PDT date +%s
        1204311113

but is there actually a way to do

        $ TZ=anything date +%s -d "`date '+%Y-%m-%d %H:%M:%S'`";

without invoking date twice?


thanks,
Jan


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to