This notebook is a collection of code snippets and technical "how to" instructions.
Unix time date format is used in many applications, including Yahoo finance.
using Dates, Printfunix_date = @sprintf("%.0f", Dates.datetime2unix(Dates.now()))println( unix_date ) # String
using Dates, Printf
unix_date = @sprintf("%.0f", Dates.datetime2unix(Dates.now()))
println( unix_date ) # String
Output:
1603013077
No comments:
Post a Comment