home
NOTE: Under Construction - I'm in the middle of upgrading my site and lots of stuff is kinda broken. Please forgive the mess.

Get The Current DateTime Timezone Offset In Rust

February 2024
Code
```cargo
[dependencies]
chrono = { version = "0.4.34", features = [] }
```

use chrono::offset::Local;

fn main() {
  let now = Local::now();
  println!("{}", now.offset());
}
Results
-05:00
═══ § ═══