Rec date and Rec time Custom Formats
This is a list of the '%' fomat codes supported by the Custom rec date and
Custom rec
time edit boxes in the Burn-in Appearance options page of DVMP Pro. Both edit boxes
accept all of these format codes.
You can use these format codes to date/time stamp your AVCHD, HDV and DV video
using the exact date an time format of your chosing. Multiple langauges are
supported for the date and time formats, so for example the day and month names
will appear in the chosen Rec date/time locale using the appropriate
language script. See the Options page for
more details.
Further down
the page are some example format strings showing how
the format codes can be used.
| Format code |
Description |
| %a |
Abbreviated weekday name |
| %A |
Full weekday name |
| %b |
Abbreviated month name |
| %B |
Full month name |
| %c |
Date and time representation appropriate for the selected "Rec
date/time locale" |
| %C |
Century number as decimal number (00 - 99). |
| %d |
Day of month as decimal number (01 - 31) |
| %D |
Same as %m/%d/%y |
| %e |
Day of month as decimal number (1 - 31); a single digit is preceded by a
space |
| %F |
Same as %Y-%m-%d (the ISO 8601 standard date format). |
| %g |
Last 2 digits of the week-based year as a decimal number (00 - 99). |
| %G |
The ISO 8601 year with century as a decimal number. The 4-digit year
corresponding to the ISO week number (see %V). |
| %h |
Same as %b |
| %H |
Hour in 24-hour format (00 - 23) |
| %I |
Hour in 12-hour format (01 - 12) |
| %j |
Day of year as decimal number (001 - 366) |
| %k |
Hour in 24-hour format as a decimal number (0 - 23); a single digit is preceded by a
space |
| %l |
Hour in 12-hour format as a decimal number (1 - 12); a single digit is preceded by a
space |
| %m |
Month as decimal number (01 - 12) |
| %M |
Minute as decimal number (00 - 59) |
| %n |
Newline character |
| %p |
The selected locale's A.M./P.M. indicator for 12-hour clock |
| %r |
Time in A.M. and P.M. notation; same as %I:%M:%S %p. |
| %R |
Time in 24 hour notation (%H:%M) |
| %S |
Second as decimal number (00 - 59) |
| %t |
Tab character |
| %T |
Time; same as %H:%M:%S |
| %u |
Weekday as a decimal number (1 - 7), with 1 representing Monday. |
| %U |
Week of year as decimal number, with Sunday as first day of week (00 -
53) |
| %V |
ISO 8601 week number of the year as a decimal number, with Monday as the first day of the week (01 - 53). If the week containing January 1st has four or more days in the new year, then it is considered week 1. Otherwise, it is week 53 of the previous year, and the next week is week 1. |
| %w |
Weekday as decimal number (0 - 6), with 0 representing Sunday. |
| %W |
Week of year as decimal number, with Monday as first day of week (00 -
53) |
| %x |
Date representation for the selected "Rec date/time locale" |
| %X |
Time representation for the selected "Rec date/time locale" |
| %y |
Year without century, as decimal number (00 - 99) |
| %Y |
Year with century, as decimal number |
| %z |
Time zone as hour and minute offset from GMT (if stored by the camcorder) |
| %% |
Percent sign |
|
The # flag may prefix any formatting code. In that case, the meaning of the format code is changed as follows.
| Format code |
Meaning |
| %#c |
Long date and time representation, appropriate for current locale. For example: "Tuesday,
June 15, 2010, 12:41:29". |
| %#x |
Long date representation, appropriate to current locale. For example: "Tuesday,
June 15, 2010". |
| %#C, %#d, %#g,%#G, %#H, %#I, %#j, %#m, %#M, %#S, %#U,
%#V, %#w, %#W, %#y, %#Y |
Remove leading zeros (if any) |
|
For all remaining format codes the # flag is ignored.
Please note that in the DEMO version of DVMP Pro, some of the date fields are
replaced with the text "DEMO". In the FULL version of DVMP Pro the
date appears correctly.
Examples
Here are some examples of format strings and how they are expanded when the Rec
date/time locale option is set to the "English (United States)"
locale.
| Format string |
Expands to |
| %c |
6/15/2010 3:30:04 PM |
| %#c |
Tuesday,
June 15, 2010 3:30:04 PM |
| %r |
03:30:04 PM |
| %#I:%M:%S %p |
3:30:04 PM |
| %I:%M %p |
03:30 PM |
| %A, %d %B %Y at %H:%M:%S |
Tuesday, 15 June 2010 at 15:30:04 |
| %#d %b %Y |
8 Mar 2010 |
| %d-%b-%Y %H.%M.%S |
15-Jun-2010 15.30.04 |
| %F (%a) |
2010-06-15 (Tue) |
| %m-%d-%Y (%A) |
06-15-2010 (Tuesday) |
| %H%M |
1530 |
| %H:%M:%S %z |
15:30:04 -05:00 |
| Time zone: %z |
Time zone: -05:00 |
|
|