Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add date/time comparison #2

choptastic opened this Issue Sep 1, 2013 · 0 comments


None yet
1 participant

choptastic commented Sep 1, 2013

Also, a function called qdate:compare(Date1,Date2), which will do automatic conversion and comparison, returning perhaps -1, 0, or 1.

Or qdate:compare(Date1,Operator,Date2), which will return boolean, with Operator being the atoms <, =, or >.

For example: qdate:compare("2012-03-05",'<',565424567233)

@choptastic choptastic closed this Sep 13, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment