Desu Nota from Columbus
Well-known Member
- Joined
- Mar 17, 2011
- Messages
- 556
I am trying to achieve the following format:
yyyy-mm-dd hh:mm:ss.000
In actuality I always want the time to be 07:00:00.000. I tried making a custom format as yyyy-mm-dd 07:00:00.000 and it didn't work.
Now I tried to input a date in C1, and concatenate it in A1 to 07:00:00.000, but instead of the date being concatenated, Excel is combining the number value (i.e 40704).
A1= C1& " 07:00:00.000"
B1=Start Date----->
C1=2011-06-10 (formatted as yyyy-mm-dd)
A1 Result: 40704 07:00:00.000
Desired Result: 2011-06-10 07:00:00.000
yyyy-mm-dd hh:mm:ss.000
In actuality I always want the time to be 07:00:00.000. I tried making a custom format as yyyy-mm-dd 07:00:00.000 and it didn't work.
Now I tried to input a date in C1, and concatenate it in A1 to 07:00:00.000, but instead of the date being concatenated, Excel is combining the number value (i.e 40704).
A1= C1& " 07:00:00.000"
B1=Start Date----->
C1=2011-06-10 (formatted as yyyy-mm-dd)
A1 Result: 40704 07:00:00.000
Desired Result: 2011-06-10 07:00:00.000