Become a Lord of TIME in Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ย. 2024

ความคิดเห็น • 4

  • @tiberiusG
    @tiberiusG หลายเดือนก่อน +1

    ctime(0) was giving me Dec 31, 1969 19:00:00
    I'm guessing that's because I'm in New Jersey and during winter our 'standard time' makes us GMT-5?

    • @the_code_guy
      @the_code_guy  หลายเดือนก่อน +1

      Yes, you are spot on. ctime represents what local time would have been for a given second value. And that is why mine doesn't show the hour, because I fall into GMT in winter. Thanks for wataching!