Hi ,
Any date is actually a date + time combination , where the date is an integer number from 1 onwards , and the time is a decimal number between 0 and 1 , representing the time interval of 24 hours in a day.
Thus , suppose we take today's date and a time of 06:00:00 hrs ( 6:00 AM ) , when you enter this as 06/24/2013 06:00 AM ( or as 06/24/2013 06:00 ) , since my system date format is mm/dd/yyyy , Excel will display this in Time format. However , if you change the cell format to number with 5 decimal places , Excel will display 41449.25
Similarly , if you enter other values , as shown below , you will see the actual value that Excel stores is just a numeric value :
[pre]
Code:
6/24/2013 6:00 41449.25000
6/24/2013 12:00 41449.50000
6/24/2013 18:00 41449.75000
6/24/2013 41449.00000
[/pre]
You can see that just the date is the same as the integer value of the date + time combination.
So , given any date + time combination , if we take the INT of the combination , the result is the date alone , without the time component.
Narayan