ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   DATe time to time only (https://www.excelbanter.com/excel-worksheet-functions/454151-date-time-time-only.html)

[email protected]

DATe time to time only
 
Can someone tell me how to convert DATE AND TIME TO time only with a formula?
2018-08-21 07:59:45 EDT to Time only so this would be 7:59:45 A.M.


I tried the date the mod nothing is working please help?
I think this is in text format.

Claus Busch

DATe time to time only
 
Hi,

Am Fri, 24 Aug 2018 12:45:11 -0700 (PDT) schrieb
:

Can someone tell me how to convert DATE AND TIME TO time only with a formula?
2018-08-21 07:59:45 EDT to Time only so this would be 7:59:45 A.M.

I tried the date the mod nothing is working please help?
I think this is in text format.


your timestamp in A1. Then try:
=MOD(SUBSTITUTE(A1,"EDT",),1)
or
=MOD(LEFT(A1,LEN(A1)-4),1)


Regards
Claus B.
--
Windows10
Office 2016

[email protected]

DATe time to time only
 
Thank you so much


On Friday, August 24, 2018 at 2:56:20 PM UTC-5, Claus Busch wrote:
Hi,

Am Fri, 24 Aug 2018 12:45:11 -0700 (PDT) schrieb
:

Can someone tell me how to convert DATE AND TIME TO time only with a formula?
2018-08-21 07:59:45 EDT to Time only so this would be 7:59:45 A.M.

I tried the date the mod nothing is working please help?
I think this is in text format.


your timestamp in A1. Then try:
=MOD(SUBSTITUTE(A1,"EDT",),1)
or
=MOD(LEFT(A1,LEN(A1)-4),1)


Regards
Claus B.
--
Windows10
Office 2016




All times are GMT +1. The time now is 12:52 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com