Long number for DateTime, same everywhere?

exjey

Member
Licensed User
Longtime User
the long number that represents DateTime values in B4A, is exactly the same in every language, OS, when we are talking about the same value of course?

I need to transfer some datetime information between a web service and my b4a app. These datetime values will be written from the web service (.net framework app actually) to a text file and my android app will read this file including long values representing datetime values. If not, i must redirect the web service to save normal date string like "12/07/2013" and then just parse the strings to the android app, just asking in case i must avoid this convertion.
 

lagore

Active Member
Licensed User
Longtime User
They are not all quite the same, B4A (android) expresses the value as milliseconds since the epoch but some other systems may express it as seconds so watch out for that.

Sent from my HTC One X using Tapatalk 2
 
Upvote 0
Top