package main
import (
	"context"
	"fmt"
  "time"
	"github.com/fastly/compute-sdk-go/fsthttp"
)
const BackendName = "origin_0"
func main() {
	fsthttp.ServeFunc(func(ctx context.Context, w fsthttp.ResponseWriter, r *fsthttp.Request) {
    
    theTime := time.Date(2006, time.January, 2, 22, 4, 5, 0, time.UTC)
    fmt.Println("Default time format:", theTime)
    
    
    
    fmt.Println("RFC1123Z:", theTime.Format(time.RFC1123Z))
    fmt.Println("RFC3339:", theTime.Format(time.RFC3339))
    fmt.Println("Unix:", theTime.Unix())
		w.WriteHeader(fsthttp.StatusOK)
	})
}