Date / DateTime not defined

I got the following error when running:

julia> t = Date(2014, 1, 31)
ERROR: UndefVarError: Date not defined
Stacktrace:
 [1] top-level scope at none:0

Julia version 1.1.0

Is there any possible explanation for this? I didn’t find any similar case.

using Dates

3 Likes

Thanks. I thought it was needed only for the older version of Julia