Edited code to remove dependence on *.nml file to get date/time
Also changed code to use R POSIXct class instead of Date to support sub-daily addressing