Ruby date conversion -
I have to do Thanks What we're doing here: Fri 26 Jun 23:05:00 -0400 200 9 Change to Eastern (US) Time How can this be done with Ruby
Tzinfo 'input_time = time Paras ('Venus 26 26:05:00 -0400 200') input_time.utc "input_time = # {input_time}" est_tz = TZInfo :: timezone.teet ('EST') puts time_in_est = est_tz .tc_to_local (input_time ) "Time_in_est = # {time_in_est}"
Comments
Post a Comment