Hi all,
in my app I need to use the TimeStamp for a given date, and I'm using some code like this sample
The value of MyTimeStamp is 1410942510000, that is not correct because it should be 1410949710.
What I'm doing wrong?
in my app I need to use the TimeStamp for a given date, and I'm using some code like this sample
B4X:
Dim startdateformat as String = DateTime.DateFormat
Dim starttimeformat as String = DateTime.TimeFormat
Dim MyTimeStamp as Long
DateTime.DateFormat = "yyyy-MM-dd"
DateTime.TimeFormat = "HH:mm:ss"
MyTimeStamp = DateTime.DateTimeParse("2014-09-17", "10:28:30")
The value of MyTimeStamp is 1410942510000, that is not correct because it should be 1410949710.
What I'm doing wrong?