On Fri, Sep 23, 2016 at 11:50 AM, Yichao Yu wrote:
> On Fri, Sep 23, 2016 at 11:33 AM, Reuben Brooks wrote:
>> Trying to convert a datetime object to unixtime to a string for an api that
>> uses unixtime. However, I cannot figure out how to get the result formatted
>> in non-scientific notation:
On Fri, Sep 23, 2016 at 11:33 AM, Reuben Brooks wrote:
> Trying to convert a datetime object to unixtime to a string for an api that
> uses unixtime. However, I cannot figure out how to get the result formatted
> in non-scientific notation:
>
> julia> a = Dates.datetime2unix(now()); string(rou
Trying to convert a datetime object to unixtime to a string for an api that
uses unixtime. However, I cannot figure out how to get the result formatted
in non-scientific notation:
julia> a = Dates.datetime2unix(now()); string(round(a))
"1.474626735e9"
What I want is to get:
julia>