Skip to content

Instantly share code, notes, and snippets.

@springcome
Created November 3, 2017 02:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save springcome/04ad1dcf06c72338a8a00bfb339877d6 to your computer and use it in GitHub Desktop.
Save springcome/04ad1dcf06c72338a8a00bfb339877d6 to your computer and use it in GitHub Desktop.
Compare string datetime
select().from(o).where(
o.stringStartDate.concat(o.stringStartTime).loe(strDate.concat(strTime))
, o.stringEndDate.concat(o.stringEndTime).goe(strDate.concat(strTime))
).list(o);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment