Convert two integers into timestamp
0
votes
3
answers
931
views
How do I convert two integers, one for date and one for time, into a timestamp?
- Given 20200304 and 1046, return a timestamp for April 3, 2020, 10:46 AM.
- Given 20200304 and 946, return a timestamp for April 3, 2020, 9:46 AM.
- Given 20200304 and 2359, return a timestamp for April 3, 2020, 11:59 PM.
- Given 20200304 and 0, return a timestamp for April 3, 2020, 0:00 AM.
I'm running Version 7, Revision 1.
Asked by Sarov
(281 rep)
Apr 3, 2020, 03:51 PM
Last activity: Apr 3, 2020, 04:51 PM
Last activity: Apr 3, 2020, 04:51 PM