简体   繁体   中英

Excel Dates Formatting issue

In Excel

Whenever I try adding days to a date (for eg: 3/15/18 1:50 PM) the result gives me date with two spaces in between date and time. Tried formatting cells, trimming cells replacing space using substring, but nothing worked

Date            Days   New_date
3/15/18 1:50 PM   0     3/15/18  1:50 PM

Check to see if you are using a custom number format. You can control exactly how your date is formatted here, and there could be an extra space between the date and the time.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM