package
module
Version:
v0.0.0-...-bcba813
Opens a new window with list of versions in this module.
Published: Jan 13, 2025
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
README
¶
geezdate
Package geezdate implements functions for converting Gregorian calendar to Geez calander.
Documentation
¶
Package geezdate implements functions for converting Gregorian calendar to Geez calander.
Convert return a Geez calander date ,take string Gregorian calendar date ("1991-05-24" to 16-9-1983)
var t time.Time
t = t.AddDate(2023, 00, 06) //Jan 7 2024
l := strings.Split(t.String(), " ")
s := Convert(l[0])
fmt.Printf("xmass %s\n", s)
Output:
xmass 28-4-2016
Geezday return a geez date (eg "2024-01-09" to "፴ ታኅሣሥ ፳፻፲፮") taking Gregorian calander date of format yyyy-mm-dd
i := Geezday("2024-01-09")
fmt.Println(i)
Output:
፴ ታኅሣሥ ፳፻፲፮
Today return a todays date according to Geez calander
Source Files
¶
Click to show internal directories.
Click to hide internal directories.