Help for this page

Select Code to Download


  1. or download this
        use Inline C => q@
        int epoch_sec(char * date) {
            char *tz_str = date + 26;
    ...
                (tz < 0 ? -1 : 1)*(abs(tz)/100*3600 + abs(tz)%100*60);
        }
        @;