1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
Hi Niles!
Here's how you can get the current epoch, in seconds and milliseconds:
const epoch = new Date('1970-01-01T00:00:00Z'); const currentDate = new Date(); const timestamp_ms = currentDate - epoch; const timestamp = Math.floor(timestamp_ms / 1000); GameSparks().Logging().Info("Current timestamp, in seconds: " + timestamp);
répondu il y a un an
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a un an
- Réponse acceptéedemandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 8 mois
Thanks a lot, Joris, It worked now!