Vegito commented on a Page, mIRC Date & Time Comparison  -  Aug 06, 2015

You can use the $ctime(text) identifier to compare dates.
$ctime uses standard Unix timestamps, which are the seconds elapsed since midnight, January 1, 1970 to your specified date.

The only downside is that you can only compare dates from January 1, 1970 to January 19, 2038.

alias comparedate {
  if ($ctime($1) > $ctime($2)) return 1
  elseif ($ctime($1) < $ctime($2)) return 2
  else return 3
}
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.