package main

import (
	"fmt"
	"time"
)

func main() {
	// 获取当前时间
	currentTime := time.Now()

	// 加999999个小时
	addedHours := 999999
	addedDuration := time.Duration(addedHours) * time.Hour
	newTime := currentTime.Add(addedDuration)

	// 计算对应的时间戳秒
	timestampSeconds := newTime.Unix()

	fmt.Printf("当前时间：%v\n", currentTime)
	fmt.Printf("加999999个小时后的时间：%v\n", newTime)
	fmt.Printf("对应的时间戳秒：%v\n", timestampSeconds)
}
