javascript:date_object_to_yyyymmdd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
javascript:date_object_to_yyyymmdd [2016/07/07 20:02] – peter | javascript:date_object_to_yyyymmdd [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 74: | Line 74: | ||
**WARNING**: | **WARNING**: | ||
- | This is a single line of code that you can use to create a YYYY-MM-DD string of today' | + | To create a **YYYY-MM-DD** string of today' |
<code javascript> | <code javascript> | ||
Line 82: | Line 82: | ||
or | or | ||
- | |||
- | An alternative would be: | ||
<code javascript> | <code javascript> | ||
Line 91: | Line 89: | ||
- | I wanted | + | To get **YYYYMMDDHHmmSSsss**use this: |
<code javascript> | <code javascript> |
javascript/date_object_to_yyyymmdd.1467921760.txt.gz · Last modified: 2020/07/15 09:30 (external edit)