Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/gohugoioTheme2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content/en/documentation/reference/functions/tpl/time/time/index.md')
-rw-r--r--exampleSite/content/en/documentation/reference/functions/tpl/time/time/index.md117
1 files changed, 117 insertions, 0 deletions
diff --git a/exampleSite/content/en/documentation/reference/functions/tpl/time/time/index.md b/exampleSite/content/en/documentation/reference/functions/tpl/time/time/index.md
new file mode 100644
index 0000000..2774966
--- /dev/null
+++ b/exampleSite/content/en/documentation/reference/functions/tpl/time/time/index.md
@@ -0,0 +1,117 @@
+
+
+
+
+
+---
+title: "time"
+linkTitle: "time"
+description: "Time is Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. "
+hugoSymbol: TODO
+
+
+
+
+---
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## time.AsTime {#time_namespace_astime}
+
+\([any](/documentation/reference/gotypes/#any)[](/documentation/reference/objects//)\) → [any](/documentation/reference/gotypes/#any)
+{.funcsig}
+AsTime converts the textual representation of the datetime string into
+a time.Time interface.
+
+
+{{< docs/func-aliases "time.AsTime" >}}
+{{< docs/func-examples "time.AsTime" >}}
+
+
+
+
+
+
+
+## time.Duration {#time_namespace_duration}
+
+\([any](/documentation/reference/gotypes/#any)[any](/documentation/reference/gotypes/#any)\) → [Duration](/documentation/reference/objects/time/duration)
+{.funcsig}
+Duration converts the given number to a time.Duration.
+Unit is one of nanosecond/ns, microsecond/us/µs, millisecond/ms, second/s, minute/m or hour/h.
+
+
+{{< docs/func-aliases "time.Duration" >}}
+{{< docs/func-examples "time.Duration" >}}
+
+
+
+
+
+
+
+## time.Format {#time_namespace_format}
+
+\([string](/documentation/reference/gotypes/#string)[any](/documentation/reference/gotypes/#any)\) → [string](/documentation/reference/gotypes/#string)
+{.funcsig}
+Format converts the textual representation of the datetime string into
+the other form or returns it of the time.Time value. These are formatted
+with the layout string
+
+
+{{< docs/func-aliases "time.Format" >}}
+{{< docs/func-examples "time.Format" >}}
+
+
+
+
+
+
+
+## time.Now {#time_namespace_now}
+
+\(\) → [time.Time](/documentation/reference/gotypes/#timetime)
+{.funcsig}
+Now returns the current local time.
+
+
+{{< docs/func-aliases "time.Now" >}}
+{{< docs/func-examples "time.Now" >}}
+
+
+
+
+
+
+
+## time.ParseDuration {#time_namespace_parseduration}
+
+\([any](/documentation/reference/gotypes/#any)\) → [Duration](/documentation/reference/objects/time/duration)
+{.funcsig}
+ParseDuration parses a duration string.
+A duration string is a possibly signed sequence of
+decimal numbers, each with optional fraction and a unit suffix,
+such as "300ms", "-1.5h" or "2h45m".
+Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
+See <a href="https://golang.org/pkg/time/#ParseDuration">https://golang.org/pkg/time/#ParseDuration</a>
+
+
+{{< docs/func-aliases "time.ParseDuration" >}}
+{{< docs/func-examples "time.ParseDuration" >}}
+
+
+
+
+