On Julia 0.4 this is possible:


*julia> **Dates.unix2datetime(time())*

*2016-01-01T19:24:14.674*


*But its in UTC.*


*Cheers*


*Tobi*



Am Freitag, 1. Januar 2016 19:05:53 UTC+1 schrieb Andreas Lobinger:
>
> Hello colleagues,
>
> maybe i'm distracted, but how to get the current time (wallclock) with 
> milisecond formatted?
> (sorry to do this, but in python i can get)
> >>> datetime.datetime.now()
> datetime.datetime(2016, 1, 1, 18, 56, 54, 822025)
> OR
> >>> datetime.datetime.now().isoformat()
> '2016-01-01T18:59:13.028891'
>
>
> in julia i have options of Base.time() and Dates.now() but time can't be 
> formatted with Libc.strftime better than seconds.
>
> Any pointer?
>
> Wishing a happy day (and btw: new year also!),
>         Andreas
>

Reply via email to