C
C#17mo ago
Down

❔ timestamp correct type

how to store this timestamp from api its in int type not string but will it fit in the int maximum bounds?
3 Replies
phaseshift
phaseshift17mo ago
Use a long or ulong.
MODiX
MODiX17mo ago
phaseshift#4881
REPL Result: Success
ulong.MaxValue
ulong.MaxValue
Result: ulong
18446744073709551615
18446744073709551615
Compile: 327.352ms | Execution: 23.417ms | React with ❌ to remove this embed.
Accord
Accord17mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.