예제 #1
0
파일: main.go 프로젝트: mabetle/mcore
// DemoExcelTime demo
func DemoExcelTime(days string) {
	t := mcore.String(days).ToExcelTime()
	mcore.PrintTime(t)
}
예제 #2
0
파일: main.go 프로젝트: mabetle/mcore
// DemoNow demo
func DemoNow() {
	ds := time.Now()
	mcore.PrintTime(ds)
	fmt.Printf("")
}
예제 #3
0
파일: main.go 프로젝트: mabetle/mcore
// DemoTime demo
func DemoTime() {
	ds := "2015-09-06 00:00:00"
	t, _ := mcore.NewString(ds).ToTime()
	mcore.PrintTime(t)
}