SOLVED

Excel date system

Copper Contributor

I have recently removed time from date by using the following function =DATE(YEAR(A7),MONTH(A7),DAY(A7)) then all date have been changed, why ? the date before apply function was 2019-01-01 17:32:45

the date after applying function have been converted to 1900-01-01

I wanted the date in the cell be just 2019-01-01

why this happen ? How can i solve this ?

 

thanks

3 Replies

Hello

 

If I try it I get 2019-01-01.

 

Change the number format of A7 to "General". What does show as a numeral value?

 

Hello

 

It's show "0". I solved it by adding new column and applying remove time function by choosing data from date cell : )

 

Very thanks 

best response confirmed by Zorba4me (Copper Contributor)
Solution

By the way, you may simplify your formula using

=INT(A7)
1 best response

Accepted Solutions
best response confirmed by Zorba4me (Copper Contributor)
Solution

By the way, you may simplify your formula using

=INT(A7)

View solution in original post