|
|
@@ -1745,12 +1745,12 @@ string snfLOGmgr::Timestamp(time_t t) { |
|
|
|
if(isValidGMT) {
|
|
|
|
TimestampBfr
|
|
|
|
<< setw(4) << (gmt->tm_year+1900)
|
|
|
|
<< setw(2) << setfill('0')
|
|
|
|
<< (gmt->tm_mon+1)
|
|
|
|
<< (gmt->tm_mday)
|
|
|
|
<< (gmt->tm_hour)
|
|
|
|
<< (gmt->tm_min)
|
|
|
|
<< (gmt->tm_sec);
|
|
|
|
<< setw(2) << setfill('0') << (gmt->tm_mon+1)
|
|
|
|
<< setw(2) << setfill('0') << (gmt->tm_mday)
|
|
|
|
<< setw(2) << setfill('0') << (gmt->tm_hour)
|
|
|
|
<< setw(2) << setfill('0') << (gmt->tm_min)
|
|
|
|
<< setw(2) << setfill('0') << (gmt->tm_sec)
|
|
|
|
;
|
|
|
|
theTimeStamp = TimestampBfr.str();
|
|
|
|
}
|
|
|
|
return theTimeStamp; // Return a string. |