Hi
The following returns 12:34:6 (note 6 not 06)
=CONCATENATE(HOUR(A1),":",MINUTE(A1),":",SECOND(A1))
Any ideas on how I can get 06?
Cheers,
Guy
It's ok, I've got it thanks all!
=HOUR(A1)&":"&MINUTE(A1)&":"&IF(LEN(SECOND(A1))=1,"0"&SECOND(A1),SECOND(A1))
The following returns 12:34:6 (note 6 not 06)
=CONCATENATE(HOUR(A1),":",MINUTE(A1),":",SECOND(A1))
Any ideas on how I can get 06?
Cheers,
Guy
It's ok, I've got it thanks all!
=HOUR(A1)&":"&MINUTE(A1)&":"&IF(LEN(SECOND(A1))=1,"0"&SECOND(A1),SECOND(A1))
Last edited: