How can we create timestamp

Support
  • Hello,
    I need to create like this.
    How can i do this?
    @Fox @GhostZ

    func Snowflake() int64 {
    snowflake := strconv.FormatInt((time.Now().UTC().UnixNano()/1000000)-1420070400000, 2) + "0000000000000000000000"
    nonce, _ := strconv.ParseInt(snowflake, 2, 64)
    return nonce
    }

    Nonce = 960980141784170496

  • 0 Votes
    2 Posts
    702 Views
  • how can i get this part

    Support
    0 Votes
    2 Posts
    586 Views
  • 0 Votes
    2 Posts
    1197 Views
  • 0 Votes
    3 Posts
    909 Views
  • 0 Votes
    3 Posts
    804 Views