|
From: | Rik |
Subject: | Re: Date/Time format codes |
Date: | Wed, 6 Apr 2016 08:29:48 -0700 |
On 04/06/2016 06:49 AM,
address@hidden wrote:
Try 'help datevec'. From the documentation for datevec: If F is a format string, the following symbols are recognized: Symbol Meaning Example -------------------------------------------------------------------------- yyyy Full year 2005 yy Two-digit year 05 mmmm Full month name December mmm Abbreviated month name Dec mm Numeric month number (padded with zeros) 01, 08, 12 m First letter of month name (capitalized) D dddd Full weekday name Sunday ddd Abbreviated weekday name Sun dd Numeric day of month (padded with zeros) 11 d First letter of weekday name (capitalized) S HH Hour of day, padded with zeros if PM is set 09:00 and not padded with zeros otherwise 9:00 AM MM Minute of hour (padded with zeros) 10:05 SS Second of minute (padded with zeros) 10:05:03 FFF Milliseconds of second (padded with zeros) 10:05:03.012 AM Use 12-hour time format 11:30 AM PM Use 12-hour time format 11:30 PM --Rik |
[Prev in Thread] | Current Thread | [Next in Thread] |