tufanv Expert Licensed User Longtime User Jul 31, 2017 #1 Hello, My brain just stopped working and I cant convert the timestamp to date. I checked this to find a solution :https://www.b4x.com/android/forum/t...fies-date-and-time-calcuations.26290/#content but couldnt get a result. How can i simply convert a timestamp like this : 1499558400 to a date. Thanks
Hello, My brain just stopped working and I cant convert the timestamp to date. I checked this to find a solution :https://www.b4x.com/android/forum/t...fies-date-and-time-calcuations.26290/#content but couldnt get a result. How can i simply convert a timestamp like this : 1499558400 to a date. Thanks
DonManfred Expert Licensed User Longtime User Jul 31, 2017 #2 where does the value came from? Try B4X: Dim ExpDate As Long = DateUtils.UnixTimeToTicks(1513728000) Log(DateTime.Date(ExpDate) & " " & DateTime.time(ExpDate)) Upvote 0
where does the value came from? Try B4X: Dim ExpDate As Long = DateUtils.UnixTimeToTicks(1513728000) Log(DateTime.Date(ExpDate) & " " & DateTime.time(ExpDate))
tufanv Expert Licensed User Longtime User Jul 31, 2017 #3 Yes this works fine DonManfred ! Thanks for your help ! Upvote 0