Hi all, does anyone know if there's a command (or workaround) to get the current date/time in the format yyyymmdd hh:mm:ss?
Thanks!
Shawn
Hi all, does anyone know if there's a command (or workaround) to get the current date/time in the format yyyymmdd hh:mm:ss?
Thanks!
Shawn
See NOW() function
You can use a Custom Format as you describe on the cell containing the function, or use the TEXT function if you prefer as a literal string.
=TEXT(NOW(),"yyyymmdd hh:mm:ss")
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Hello There
if you put the formula =NOW()
and the format the cell to custom format yyyymmdd hh:mm:ss
that should work
hope this helps
Jim
DonkeyOte ("DonQuixote"... cute!), that's perfect, just what I was looking for, thanks.
Thanks too JimmyA!
Cheers
Shawn
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks