how to get current timestamp?
    Ferhat Kurtulmuş 
    aferust at gmail.com
       
    Thu Jan  2 18:59:54 UTC 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:
>> 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()
Thank you. However, UnixTime is what I was looking for.
Clock.currTime.toUnixTime()
    
    
More information about the Digitalmars-d-learn
mailing list