BestSync Help | Home / Main Index / Task Wizard / Application |
Date Format String:
<Date:Picture String[-nnn]> Convert to the English Locale String
<DATE:Picture String[-nnn]> Convert to the Current User Locale String
Picture | Meaning |
---|---|
d | Day of month as digits with no leading zero for single-digit days. |
dd | Day of month as digits with leading zero for single-digit days. |
ddd | Day of week as a three-letter abbreviation. |
dddd | Day of week as its full name. |
M | Month as digits with no leading zero for single-digit months. |
MM | Month as digits with leading zero for single-digit months. |
MMM | Month as a three-letter abbreviation. |
MMMM | Month as its full name. |
y | Year as last two digits, but with no leading zero for years less than 10. |
yy | Year as last two digits, but with leading zero for years less than 10. |
yyyy | Year represented by full four or five digits, depending on the calendar used. Thai Buddhist and Korean calendars both have five digit years. The "yyyy" pattern will show five digits for these two calendars, and four digits for all other supported calendars. |
yyyyy | Identical to "yyyy". |
gg | Period/era string.This element is ignored if the date to be formatted does not have an associated era or period string. |
Short | Get the short date format. For example, "4/11/2010" (April 11, 2010) |
Long | Get the long date format. For example, "Sunday, April 11, 2010" (April 11, 2010) |
-nnn | Option. nnn is a number that means the days that will be subtracted from the date. |
For example, to get the date string
"Wed, Aug 31 94"- Please use the following picture string:
<date:ddd',' MMM dd yy>- For example, to get the date string of yesterday:
- <date:MMddyyyy-1>
<Time:Picture String[-nnn]> Convert to the English Locale String
<TIME:Picture String[-nnn]> Convert to the Current User Locale String
Picture | Meaning |
---|---|
h | Hours with no leading zero for single-digit hours; 12-hour clock. |
hh | Hours with leading zero for single-digit hours; 12-hour clock. |
H | Hours with no leading zero for single-digit hours; 24-hour clock. |
HH | Hours with leading zero for single-digit hours; 24-hour clock. |
m | Minutes with no leading zero for single-digit minutes. |
mm | Minutes with leading zero for single-digit minutes. |
s | Seconds with no leading zero for single-digit seconds. |
ss | Seconds with leading zero for single-digit seconds. |
t | One character time marker string, such as A or P. |
tt | Multiple characters time marker string, such as AM or PM. |
-nnn | Option. nnn is a number that means the minutes day number that will be subtracted from the time. |
"11:29:40 PM"
<time:hh':'mm':'ss tt>
BestSync Help | Home / Main Index / Task Wizard / Application |