How I can get the timestamp?
I can not find any function that returns the current date in seconds.
I have installed a notification system and I need to subtract dates and get the seconds to reset when the device is restarted.
I was looking for something that returns the current date this type of value:
(04/16/2016 @ 12:28 pm (UTC))
Resolved. I use:
(int) Java.Lang.JavaSystem.CurrentTimeMillis() / 1000)
Are you talking about System.DateTme.Now ?
Look at timespans, that might help
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies