WFDB_strdat
Keywords: wfdb_tools

Next: WFDB_aduphys Up: Conversion Functions Previous: WFDB_datstr Contents

##
WFDB_strdat

Usage: | `STR = WFDB_strdat(DATE);` |
Input: | `STR`: (string) date, in DD/MM/YYYY format |
Output: | `DATE`: (integer) Julian date |

This function converts an ASCII string in DD/MM/YYYY format into a Julian date. If the string is improperly formatted, `WFDB_strdat` returns zero. Note that dates such as '15/3/89' refer to the first century A.D., not the twentieth or twenty-first.