get_current_time_seconds function

BigInt get_current_time_seconds()

Implementation

BigInt get_current_time_seconds() {
    return BigInt.parse((BigInt.from(DateTime.now().millisecondsSinceEpoch) / BigInt.from(1000)).toString().split('.').first);
}