1. Common numeric format strings:
C or C currency format
D or D decimal format
E or E scientific (exponential) Format
Fixed decimal scale format of f or F
G or G standard format
N or N numeric format
P or P percentage format
X or X hexadecimal format
2. Common date format strings:
D. Short date
D. Long date
F complete (long date and short time)
F complete (long date and long time)
G average (short date and short time)
G average (short date and long time)
M or M months and days
R or R rfc1123 format
S adopts the iso8601 class of local time.
T short time
T long time
U can be classified using iso8601 of the general time
U generic classifier date/time
Y or Y and month
3. image format characters of numbers
0. If no valid value exists, 0 is displayed.
# Digit placeholder
. Decimal point
, Separator
% Percentage
E + 0, E-0, e + 0 or e-0 will output format for scientific or exponential meaning
\ Escape characters
"Or 'any character between them is interpreted as a string
{And} are used to display single-text curly braces, for example, "{" is displayed "{"
Separate Two or three parts of the positive, negative, and zero values in the Format String