View | Details | Raw Unified | Return to bug 15868
Collapse All | Expand All

(-)xferstats Tue Jan 4 09:43:46 2000 (-1 / +3 lines)
Lines 186-192 Link Here
186
#
186
#
187
function cvtDateTime(s)
187
function cvtDateTime(s)
188
{
188
{
189
    yday = substr(s,7,2)*365 + substr(s,4,2) - 1;
189
    y = substr(s,7,2);
190
    if ( y < 50) y += 100;
191
    yday = y*365 + substr(s,4,2) - 1;
190
    mon = substr(s,0,2) + 0;
192
    mon = substr(s,0,2) + 0;
191
    for (i = 0; i < mon; i++)
193
    for (i = 0; i < mon; i++)
192
       yday += daysInMonth[i];
194
       yday += daysInMonth[i];

Return to bug 15868