I have the following program:
package main
import (
"fmt"
"time"
)
func main() {
now := time.Now().UnixNano() / int64(time.Millisecond)
nowString := string(now)
fmt.Println(nowString)
}
I'm expecting the epoch time to be printed as a string. Instead I get:
�
How do I fix this error?