Skip to content

Commit d998203

Browse files
authored
add "u" Format Character microseconds
same as PHP style, extending milliseconds
1 parent fd8c50a commit d998203

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ PHP Style Format Characters (such as those found [here](http://php.net/manual/en
8686
| *H* | 24-hour format of an hour with leading zeros | *00* through *23* |
8787
| *i* | Minutes with leading zeros | *00* to *59* |
8888
| *s* | Seconds with leading zeros | *00* to *59* |
89-
| *v* | Milliseconds | Example *654* |
89+
| *u* | Microseconds | Example: *654321* |
90+
| *v* | Milliseconds | Example: *654* |
9091
| *Timezone* | --- | --- |
9192
| *e* | Timezone identifier | *UTC*, *UTC+1* |
9293
| *I* (capital i) | Whether the date is in daylight saving time | *DST* if Daylight Savings Time, otherwise nothing |

0 commit comments

Comments
 (0)