summaryrefslogtreecommitdiffstats
path: root/docs/content/en/methods/time/Day.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/methods/time/Day.md')
-rw-r--r--docs/content/en/methods/time/Day.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/content/en/methods/time/Day.md b/docs/content/en/methods/time/Day.md
new file mode 100644
index 000000000..1173b8489
--- /dev/null
+++ b/docs/content/en/methods/time/Day.md
@@ -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
+```