mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
Merge commit '35dec7c96f7ee3eb17dd444f7067f0c776fb56ae'
This commit is contained in:
21
docs/content/en/methods/time/Day.md
Normal file
21
docs/content/en/methods/time/Day.md
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
title: Day
|
||||
description: Returns the day of the month of the given time.Time value.
|
||||
categories: []
|
||||
keywords: []
|
||||
action:
|
||||
related:
|
||||
- methods/time/Year
|
||||
- methods/time/Month
|
||||
- methods/time/Hour
|
||||
- methods/time/Minute
|
||||
- methods/time/Second
|
||||
- functions/time/AsTime
|
||||
returnType: int
|
||||
signatures: [TIME.Day]
|
||||
---
|
||||
|
||||
```go-html-template
|
||||
{{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }}
|
||||
{{ $t.Day }} → 27
|
||||
```
|
Reference in New Issue
Block a user