Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PINLINE int PTime::GetYear (  )  const

Get the year of the date.

Returns:
integer in range 1970..2038.

Definition at line 454 of file osutil.inl.

References theTime.

  { struct tm ts; return os_localtime(&theTime, &ts)->tm_year+1900; }


Generated by  Doxygen 1.6.0   Back to index