digitalmars.D.learn - how to get current timestamp?
- Ferhat =?UTF-8?B?S3VydHVsbXXFnw==?= (3/3) Jan 02 2020 Is there any built-in method returning current timestamp like
- bachmeier (5/8) Jan 02 2020 I use
- Ferhat =?UTF-8?B?S3VydHVsbXXFnw==?= (3/11) Jan 02 2020 Thank you. However, UnixTime is what I was looking for.
Is there any built-in method returning current timestamp like doing it in python like: time.time() which returns something like 1577990478.4675508?
Jan 02 2020
On Thursday, 2 January 2020 at 18:41:59 UTC, Ferhat Kurtulmuş wrote:Is there any built-in method returning current timestamp like doing it in python like: time.time() which returns something like 1577990478.4675508?I use import std.datetime; Clock.currTime().toISOExtString()
Jan 02 2020
On Thursday, 2 January 2020 at 18:56:37 UTC, bachmeier wrote:On Thursday, 2 January 2020 at 18:41:59 UTC, Ferhat Kurtulmuş wrote:Thank you. However, UnixTime is what I was looking for. Clock.currTime.toUnixTime()Is there any built-in method returning current timestamp like doing it in python like: time.time() which returns something like 1577990478.4675508?I use import std.datetime; Clock.currTime().toISOExtString()
Jan 02 2020