Working with date and time |
Top Previous Next |
DICOM date and time tag types (DA and TM) are represented as numbers. Date is represented as a string of characters of the format YYYYMMDD; where YYYY shall contain year, MM shall contain the month, and DD shall contain the day. For e.g. 31 January 2013 is stored as 20130131.
Time is represented as a string of characters of the format HHMMSS.FFFFFF; where HH contains hours (range "00" - "23"), MM contains minutes (range "00" - "59"), SS contains seconds (range "00" - "60"), and FFFFFF contains a fractional part of a second. In Easy DICOM Search, the fractional part is ignored. For e.g. 10:59.30 PM is stored as 225930.
As date and time are represented as numbers, you can use the number functions described here when writing search conditions for date and time values. |