Jump to content
snsokstan

Dynamic Date/Time Snippet: milliseconds?

Recommended Posts

This snippet returns a string from current year to current second.  {date:yyyyMMddhhmmss}      

example:  20191201162013

 

Can it be formatted to include milliseconds?   appending  "mmm" or ".mmm" does not do that.

Share this post


Link to post

@snsokstan Take a look at the Unicode date formats here and search for milliseconds for more details of how you should format your date: 

http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns

 

There's both fractional seconds and milliseconds in day, so take a look at what you prefer and their respective formats.

 

Cheers,
Vero

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...