1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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);
beantwortet vor einem Jahr
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 4 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
Thanks a lot, Joris, It worked now!