May 11, 2017

[HDGEM] DATE STRING in date Linux command

The  --date=STRING  is a mostly free format human readable date string such as "Sun, 29 Feb 2004 16:21:42 -0800" or "2004-02-29 16:21:42" or even "next Thursday".  A date string may contain
       items indicating calendar date, time of day, time zone, day of week, relative time, relative date, and numbers.  An empty string indicates the beginning of the day.

     Display the date and time specified in DATESTR instead of the
     current date and time.  DATESTR can be in almost any common format.
     It can contain month names, time zones, 'am' and 'pm', 'yesterday',
     etc.  For example, '--date="2004-02-27 14:19:13.489392193 +0530"'
     specifies the instant of time that is 489,392,193 nanoseconds after
     February 27, 2004 at 2:19:13 PM in a time zone that is 5 hours and
     30 minutes east of UTC.

Posted By Blogger to HDGEM at 5/11/2017 07:41:00 AM