Skip to content

Instantly share code, notes, and snippets.

@philips
Created October 15, 2013 19:48
Show Gist options
  • Select an option

  • Save philips/6997582 to your computer and use it in GitHub Desktop.

Select an option

Save philips/6997582 to your computer and use it in GitHub Desktop.
date MMddhhmm[[cc]yy]
Where,
MM : Month (two-digit numeric month)
dd : Day (two-digit numeric day i.e. day of month)
hh : Hour
mm : Minutes (30)
cc : First two digits of the year (10)
yy : Last two digits of the year (2010).
To set date to April 27, 2010 8:00am under HP-UX, AIX, Sun Solaris or UNIX like operating system, enter:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment