> what do you mean by "%d-%b-%y". is it reading format or writing format.
"%d-%b-%y" is a date format - see the help page for strptime. Example usage: strptime("01-Jan-84", "%d-%b-%y") strftime(Sys.time(), "%d-%b-%y") Regards, Richie. Mathematical Sciences Unit HSL ------------------------------------------------------------------------ ATTENTION: This message contains privileged and confidential inform...{{dropped:22}} ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.