ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
ctime(0) was giving me Dec 31, 1969 19:00:00I'm guessing that's because I'm in New Jersey and during winter our 'standard time' makes us GMT-5?
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!
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?
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!