Lemmy Fans
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
davel@lemmy.ml to Unix@lemmy.mlEnglish · 1 year ago

time_t is not GMT

www.jwz.org

external-link
message-square
0
link
fedilink
1
external-link

time_t is not GMT

www.jwz.org

davel@lemmy.ml to Unix@lemmy.mlEnglish · 1 year ago
message-square
0
link
fedilink
When I hear someone say "a Unix timestamp is in GMT" I die a little inside. It is muddy thinking that leads to many of the problems that plague this modern world. A time_t does not have a time zone at all. It is a point in time, a scalar value. A 'struct tm' is a point in spacetime, a vector value. If you are trying to express a point in time to a human, you could do that by saying ...
alert-triangle
You must log in or register to comment.

Unix@lemmy.ml

unix@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

This is a community discussing Unix, unix-based, and unix-like operating systems.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 11 users / day
  • 11 users / week
  • 11 users / month
  • 11 users / 6 months
  • 1 local subscriber
  • 285 subscribers
  • 26 Posts
  • 0 Comments
  • Modlog
  • mods:
  • ysu@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org