Answer the question
In order to leave comments, you need to log in
Why displays the "left" date-time?
Why doesn't it display the current date-time?
And how to format the value itself - in the time.Now() function (and not when outputting to the canvas with a printed_function) ?
https://play.golang.org/p/zw-G1yvPe2M
Answer the question
In order to leave comments, you need to log in
You are using the wrong template for formatting.
In the first function it is correct (02/01/2006), in the second function you need to use it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question