ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   MS Office Excel Date-Time Code (https://www.excelbanter.com/excel-discussion-misc-queries/142702-ms-office-excel-date-time-code.html)

Daniell

MS Office Excel Date-Time Code
 
I have been passed a date in the format of 39173. Is there a formula or
function that will convert from this format to a mm/dd/yyyy or yyyy/mm/dd or
even a dd/mm/yyyy? Thanks in advance for the help.

Gary''s Student

MS Office Excel Date-Time Code
 
Format Cells... Number Date anything you want
--
Gary''s Student - gsnu200721


"Daniell" wrote:

I have been passed a date in the format of 39173. Is there a formula or
function that will convert from this format to a mm/dd/yyyy or yyyy/mm/dd or
even a dd/mm/yyyy? Thanks in advance for the help.


Dave Peterson

MS Office Excel Date-Time Code
 
How about just formatting that cell as a nice looking date:

Format|Cells|Number tab|choose your favorite date format.

Daniell wrote:

I have been passed a date in the format of 39173. Is there a formula or
function that will convert from this format to a mm/dd/yyyy or yyyy/mm/dd or
even a dd/mm/yyyy? Thanks in advance for the help.


--

Dave Peterson

Gord Dibben

MS Office Excel Date-Time Code
 
To clarify responses see Chip Pearson's site on how Excel stores dates and
times.

http://www.cpearson.com/excel/datetime.htm#SerialDates


Gord Dibben MS Excel MVP

On Mon, 14 May 2007 16:19:01 -0700, Daniell
wrote:

I have been passed a date in the format of 39173. Is there a formula or
function that will convert from this format to a mm/dd/yyyy or yyyy/mm/dd or
even a dd/mm/yyyy? Thanks in advance for the help.



Daniell

MS Office Excel Date-Time Code
 
Thanks for the help.

"Daniell" wrote:

I have been passed a date in the format of 39173. Is there a formula or
function that will convert from this format to a mm/dd/yyyy or yyyy/mm/dd or
even a dd/mm/yyyy? Thanks in advance for the help.



All times are GMT +1. The time now is 09:30 PM.

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