mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-09-12 08:18:37 +00:00
21 lines
444 B
Markdown
21 lines
444 B
Markdown
---
|
|
title: now
|
|
linktitle: now
|
|
description: Returns the current local time as a [`time.Time`]
|
|
godocref: https://godoc.org/time#Time
|
|
date: 2017-02-01
|
|
publishdate: 2017-02-01
|
|
lastmod: 2017-02-01
|
|
categories: [functions]
|
|
tags: [dates,time]
|
|
signature:
|
|
workson: []
|
|
hugoversion:
|
|
relatedfuncs: [Unix,dateFormat]
|
|
deprecated: false
|
|
aliases: []
|
|
needsexamples: true
|
|
---
|
|
|
|
`now` returns the current local time as a [`time.Time`](https://godoc.org/time#Time).
|