Something went wrong. Try again.
Self-hosted, federated location sharing app and server that prioritizes user privacy and security
Something went wrong. Try again.
250 B · 11 lines
123456789101112class time { static int getCurrentUnixTime() { // Returns seconds return DateTime.now().millisecondsSinceEpoch ~/ 1000; }
static int getTimeUntil(int unixTime) { // Returns seconds return unixTime - getCurrentUnixTime(); }}