I store datetime in Sqlite as long. (as is required).
Locally on the device it works great.
When I send this datetime (long) to the server, what type should the MySql table field be?
BigInt (size 20) accepts it, TimeStamp fails, DateTime fails.
If BigInt is the way to go, how do I represent this as a date and time in my web apps?
A bit more than B4a questions, but I am stuck...
Thanks
Locally on the device it works great.
When I send this datetime (long) to the server, what type should the MySql table field be?
BigInt (size 20) accepts it, TimeStamp fails, DateTime fails.
If BigInt is the way to go, how do I represent this as a date and time in my web apps?
A bit more than B4a questions, but I am stuck...
Thanks