Forum Discussion

Muhammad Naeem Hameed's avatar
Muhammad Naeem Hameed
Copper Contributor
Jul 05, 2017

Built-in date format based on Datevalue

Dear members,

 

I have noticed while working on date decoding that the excel returns incorrect date on datevalue (one day less). For example the data given in follwing table calculates day as 5th of july since the number 42920 completes seconds till 4th of july and we are now on the next day with .2802546.... time passed on the 5th. My working file is attached for further evaluation. I need help if  I am wrong in my assumption. 

3708312214Dec Value in Seconds past 1900  
42920.280254629600Days.Time  
    
7/4/2017 6:43:34 AMThrough Excell  built in format  
    
42920Days  
    
117.5890411year.Days  
117Year  
215Days  
30Leap Year Adj  
185Total Days  
7Month  
5DayAdded one to count for hours past last day ie 4th july
    
6.726111111Hours.Seconds  
6Hours  
43.567Min.sec  
43Min  
34Sec  

1 Reply

  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    Hi,

     

    Perhaps you took incorrect starting point in your calculation. Zero is Jan 00, 1900 (1900-00-00 00:00) and when the previous century starts on Jan 01, 1900 (1900-01-01 00:00:00) that's 1.

Resources