{"id":1186,"date":"2020-01-22T03:12:27","date_gmt":"2020-01-22T03:12:27","guid":{"rendered":"https:\/\/golangbyexamples.com\/?p=1186"},"modified":"2020-01-22T03:12:30","modified_gmt":"2020-01-22T03:12:30","slug":"dob-golang","status":"publish","type":"post","link":"https:\/\/golangbyexamples.com\/dob-golang\/","title":{"rendered":"Represent Date of Birth in Go (Golang)"},"content":{"rendered":"\n

time.Date<\/strong> function of time<\/strong> package can be used to create a particular date that can represent a DOB.
<\/p>\n\n\n\n

See below example<\/p>\n\n\n\n