http://www.cyberciti.biz/faq/linux-display-date-and-time/
date
Sample outputs:
Sat Nov 7 22:44:59 IST 2009
You can format the date as follows in dd-mm-yy format:
date +"%d-%m-%y"
Sample outputs:
07-11-09
To print the date of the day before yesterday:
date --date='2 days ago'
To print the day of year of Christmas in the current year:
date --date='25 Dec' +%j
To print the current full month name and the day of the month:
date '+%B %d'
Revert the date to second from 1970
date --date="2013/06/01 00:00:00 UTC" +%s
Transfer the second to date format
date -u -d @1370044800
1 則留言:
buy ambien where can i buy cheap generic ambien - ambien 10 mg street price
張貼留言