Пример #1
0
// DemoExcelTime demo
func DemoExcelTime(days string) {
	t := mcore.String(days).ToExcelTime()
	mcore.PrintTime(t)
}
Пример #2
0
// DemoNow demo
func DemoNow() {
	ds := time.Now()
	mcore.PrintTime(ds)
	fmt.Printf("")
}
Пример #3
0
// DemoTime demo
func DemoTime() {
	ds := "2015-09-06 00:00:00"
	t, _ := mcore.NewString(ds).ToTime()
	mcore.PrintTime(t)
}