use chrono::{Utc, TimeZone, FixedOffset, Datelike, Timelike}; usenum::traits::pow;
fn main() { println!("sidereal time!"); // let birthday = Utc.ymd(1987, 4, 10).and_hms(19, 21, 00); let birthday = Utc.ymd(2016, 11, 2).and_hms(21, 17, 30); let timezone = FixedOffset::east(0); birthday.with_timezone(&timezone);
let mut year = birthday.year() as f64; let mut month = birthday.month() as f64; let day = birthday.day() as f64; let hour = birthday.hour() as f64; let minute = birthday.minute() as f64; let second = birthday.second() as f64;
if month < 2f64 { year = year - 1f64; month = month + 12f64; }