Code to avoid the use of non-standard strptime(). By