Elementary, and covered a million times:
R> difftime(strptime("6/16/1998 01:45", "%m/%d/%Y %H:%M", tz="UTC"),
+ strptime("6/14/1998 17:30", "%m/%d/%Y %H:%M", tz="UTC"),
+ unit="min")
Time difference of 1935 mins
R>
See help(difftime)
and help(strptime)
.