ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Date (https://www.excelbanter.com/excel-programming/318106-date.html)

tim

Date
 
Hello All,

I would like to convert the date that is generated by
the "Now()" formula in a work sheet to just the text of
the date.

i.e. result in text as 12/01/2004

Thanks in advance

Sharad Naik

Date
 
=TEXT(LEFT(NOW(),10),"dd/mm/yyyy")

Sharad

"Tim" wrote in message
...
Hello All,

I would like to convert the date that is generated by
the "Now()" formula in a work sheet to just the text of
the date.

i.e. result in text as 12/01/2004

Thanks in advance




Tom Ogilvy

Date
 
ActiveCell.Value = Date
ActiveCell.Numberformat = "mm/dd/yyyy"

--
Regards,
Tom Ogilvy

"Tim" wrote in message
...
Hello All,

I would like to convert the date that is generated by
the "Now()" formula in a work sheet to just the text of
the date.

i.e. result in text as 12/01/2004

Thanks in advance




JE McGimpsey

Date
 
Not sure why you need text - you could just use

=TODAY()

and format it with Format/Cells/Date.

However, if you want it as text, use

=TEXT(TODAY(),"mm/dd/yyyy")




In article ,
"Tim" wrote:

Hello All,

I would like to convert the date that is generated by
the "Now()" formula in a work sheet to just the text of
the date.

i.e. result in text as 12/01/2004

Thanks in advance


Sharad Naik

Date
 
Only
=TEXT(NOW(),"dd/mm/yyyy")
should do.

"Sharad Naik" wrote in message
...
=TEXT(LEFT(NOW(),10),"dd/mm/yyyy")

Sharad

"Tim" wrote in message
...
Hello All,

I would like to convert the date that is generated by
the "Now()" formula in a work sheet to just the text of
the date.

i.e. result in text as 12/01/2004

Thanks in advance







All times are GMT +1. The time now is 03:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com