Skip to content

Instantly share code, notes, and snippets.

@CarlTBarnes
Created July 4, 2020 21:34
Show Gist options
  • Save CarlTBarnes/b4ec3d3968ccc8de0f5d81d9f4ada7cf to your computer and use it in GitHub Desktop.
Save CarlTBarnes/b4ec3d3968ccc8de0f5d81d9f4ada7cf to your computer and use it in GitHub Desktop.
Day of Week from Clarion Date
DowName PROCEDURE(LONG pDate)!,STRING
CODE
RETURN CHOOSE( pDate % 7 + 1,'Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','???')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment