From 1f121a953c2970ce0c432565eec71bac0311207e Mon Sep 17 00:00:00 2001
From: Alexander Barth <barth.alexander@gmail.com>
Date: Tue, 19 Apr 2022 15:16:01 +0200
Subject: [PATCH] Update README.md

---
 README.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/README.md b/README.md
index 51f2a5c..c167384 100644
--- a/README.md
+++ b/README.md
@@ -68,8 +68,20 @@ DateTime360Day(2000,1,1) + Dates.Day(360)
 # DateTime360Day(2001-01-01T00:00:00)
 ```
 
+
 You can replace in the example above the type `DateTime360Day` by the string `"360_day"` (the name according to the CF conversion).
 
+## Parsing dates
+
+Dates can be parsed by using `dateformat` from julia's `Dates` module, for example:
+
+```julia
+dt = DateTimeNoLeap("21001231",dateformat"yyyymmdd");
+# or
+# dt = parse(DateTimeNoLeap,"21001231",dateformat"yyyymmdd")
+Dates.year(dt),Dates.month(dt),Dates.day(dt)
+# output (2100, 12, 31)
+```
 
 ## Acknowledgments