module RunTime

using Dates: now, canonicalize, CompoundPeriod

macro runtime(args...)

    println("-"^80)

    st = now()

    @show args

    println("Starting at ", st)

    eval(args...)

    en = now()

    println("Ended at ", en)

    println("Took ", canonicalize(CompoundPeriod(en - st)))

    return println()

end

end
