Home > date/time > Get unix timestamp in bash

Get unix timestamp in bash

I’m posting this since I always forget it…

date +%s

More info: http://www.cyberciti.biz/faq/linux-unix-formatting-dates-for-display/

http://blog.melimato.com/wp-content/plugins/sociofluid/images/digg_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/reddit_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/stumbleupon_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/delicious_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/technorati_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/google_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/myspace_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/facebook_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/yahoobuzz_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/twitter_24.png http://blog.melimato.com/wp-content/plugins/sociofluid/images/meneame_24.png
Categories: date/time Tags: , ,
  1. donnerdiebel
    February 4th, 2010 at 12:47 | #1

    Just the same with me ;) Thanks…

  2. Geremia
    July 3rd, 2010 at 20:24 | #2

    Thanks! That is exactly what I was looking for.

  3. DaX
    January 21st, 2011 at 15:51 | #3

    Thank you very much. It’s these little things that helps us all out so much.

  4. June 21st, 2011 at 05:49 | #4

    Thanks! That’s a good tip!

  5. Mijo
    September 6th, 2011 at 22:49 | #5

    Thanks a million I always forget it

  6. Ted
    January 22nd, 2012 at 12:13 | #6

    Cool, man, thanks.

  1. No trackbacks yet.

Comment moderation is enabled. Your comment may take some time to appear.

Additional comments powered by BackType