Formatting the =NOW() function ?
=TEXT(NOW(),"dddd dd mmmm yyyy hh:mm:ss")
Move the 'dddd' 'mmmm' etc around to suit or omit what you don't want.
'dddd' gives 'Saturday', 'ddd' gives 'Sat', 'dd' gives 06, same thing with
the month and year,
Regards,
Alan.
"dim" wrote in message
...
Hi,
Im using the =NOW() function to display time and date in my worksheet.
Could someone please tell me a few ways to format it to display
differently?
e.g: Date only, time only, date first, time first etc
Thankyou if you can help.
|