Skip to content

Instantly share code, notes, and snippets.

@billmetangmo
Created April 10, 2021 22:34
Show Gist options
  • Select an option

  • Save billmetangmo/4af3eedd130c57bb8f966d353071b95f to your computer and use it in GitHub Desktop.

Select an option

Save billmetangmo/4af3eedd130c57bb8f966d353071b95f to your computer and use it in GitHub Desktop.
Open refine Jython interpreter
from datetime import datetime
date_time_obj = datetime.strptime(str(value),'%Y-%m-%d-%H-%M-%S')
return date_time_obj.isoformat()
# Openrefine supports ISO-8601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment