Sting of numbers from date

Greetings,

I’m trying to make a google scholar compliant string for date data. (see: https://www.google.com/intl/en/scholar/inclusion.html#indexing Paragraph C.) the date needs to be in the form “2010/5/12”, which I assume means that it is year month day… but with the numbers they chose, it is still a guess. Besides that I need slashes not hyphens. I can’t use the Hugo .Format option as it does not deliver a date in this format. What other options are there? Any suggestions?

best doc isd the source

https://golang.org/src/time/format.go

use .Format "2006/01/02"

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.