Guest User

Untitled

a guest
Jun 25th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. function comparedates ( date1, date2 )
  2. local f = string.gmatch ( date1, "%d+" );
  3. for v in string.gmatch ( date2, "%d+" ) do
  4. if ( v > f() ) then
  5. return true
  6. end
  7. end
  8. return false
  9. end
Add Comment
Please, Sign In to add comment