Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default changing the formatting of birthdates

Your answer will depend on how the data is entered to the file: it may
be a text entry, or it may be a numeric entry with the formatting set
to show a date.

Excel uses an integer number of days since a particular start date to
keep track of dates, and a fractional portion of a day to represent
time during the day. Try it: in an empty cell type =TODAY() and Excel
enters the number 39371 for 16 October 2007. You may see that number
or a date, depending on how the cell is formatted. If you right click
that cell and select Format Cells you can format it as a date in a
variety of formats.

In a different cell type the formula =NOW() and again the format of
the cell will determine how the decimal number is displayed. Right
click this cell and select a number display that contains 8 or 10
decimal places and you'll see the number 39371 to the left of the
decimal place (representing the date); the fraction represents the
time.

So back to reality: if your data is stored as Excel dates you can
simply format the cells to your desired output and your CSV file is
good to go. If the dates are stored as text, then you'll need to
convert the text dates to Excel dates, then reformat.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I sort two columns without changing the formatting? LisaD Excel Worksheet Functions 5 April 5th 07 02:01 PM
I want to sort by month, date, year. Birthdates. How do I do it Shebamandy Excel Worksheet Functions 2 October 17th 06 04:52 PM
Changing a Formula in Conditional Formatting Dee Excel Worksheet Functions 1 November 2nd 05 04:30 PM
Changing cell formatting with IF function Bruise Excel Worksheet Functions 6 May 21st 05 11:40 PM
Calculating Ages from Birthdates Kendle Excel Discussion (Misc queries) 2 January 6th 05 07:16 PM


All times are GMT +1. The time now is 08:15 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"