package main
import (
"github.com/mantyr/newtime"
"fmt"
)
func main() {
date := newtime.NewTime()
date.Parse("16-08-2016 15:11:06", "dd-mm-yyyy HH:ii:ss")
fmt.Println(date.Format("YYYY-mm-dd HH:ii:ss")) // "2016-08-16 15:11:06"
}