35 string BESStatus::boot_time ;
36 int BESStatus::_counter ;
42 const time_t sctime = time( NULL ) ;
43 const struct tm *sttime = localtime( &sctime ) ;
45 strftime( zone_name,
sizeof( zone_name ),
"%Z", sttime ) ;
46 boot_time = string( zone_name ) +
" " + string( asctime( sttime ) ) ;
47 string::size_type index = boot_time.find(
'\n' ) ;
48 if( index != string::npos )
49 boot_time.erase( index ) ;