In the webpage “9 Working with dates” (9 Working with dates | The Epidemiologist R Handbook), there may be some typos regarding the abbreviations, including:
- %H = hours (24-hr clock) (originally %h)
- %m = minutes (originally %M)
- no break in this line: %A = Full weekday (Monday, Tuesday, etc.) %w = Weekday number (0-6, Sunday is 0)
- no break in this line: %s = seconds %z = offset from GMT
See if they are typos. Thanks.