### **日期**
```go
package main
// carbon 时间解析
// https://github.com/golang-module/carbon
import (
"fmt"
"github.com/golang-module/carbon/v2"
)
func main() {
// 今天此刻
fmt.Println("carbon.Now()", carbon.Now(carbon.Shanghai))
fmt.Println("当前时间", carbon.Now().ToDateTimeString())
fmt.Println("解析时间", carbon.CreateFromDate(2022, 3, 15).ToDateTimeString())
fmt.Println("解析时间", carbon.CreateFromDateTime(2022, 3, 15, 0, 0, 0).ToDateTimeString())
fmt.Println("上个月", carbon.CreateFromDateTime(2022, 3, 1, 0, 0, 0).SubMonth().ToDateString())
fmt.Println("下个月", carbon.CreateFromDateTime(2022, 3, 1, 0, 0, 0).AddMonth().ToDateString())
fmt.Println("明天", carbon.Tomorrow(carbon.Shanghai).ToDateString()) // 明天日期
}
```