ESH5T Terminals - Current DateTime | Thales IoT Developer Community
December 10, 2014 - 12:23pm, 4953 views
I have ESH5T terminals. I write program to read data from another device.
In my projectI required current Date & Time and M write below code in java to get current datetime.
"Date myDate = new Date();"
--- returns "2004-01-01 00:00:10"
But it's return wrong datetime. I think it return factory date time of the terminal.
Also m try to set current datetime using AT command but when terminal power on/off then it's reset datetime to factory datetime.
So is there any way to set cuttent date time on terminal.
Any way to get inserted SIM card carriar network tower datetime and set to terminal.
Please help me.