Input a date/time string and output R date/time *format*. The format can then be used to convert to a different format. Determine Date and Time *format* from input (single record) using Perl regular expressions. Perl Code prepared by Ann Roseberry Lincoln Not all possible formats recognized but the most common are accepted. If AM/PM is left off them assume 24 hr time.
fun.DateTimeFormat(fun.DateTime, fun.dt.Type)
Date, Time, or DateTime data
type of input; date, time, or date
Returns a text string representing the date/time format of the input fun.DateTime. Wrapper function for fun.dt.Type2().