I have perfectly executed python code in my computer. However, same code does not execute in Script task. For instance, I used parse() function to format datetime. parse(“2017-08-27T00:00:00.000”).date() works in my computer, but not in script task.
Although I imported (from datetime import date, time,datetime) required libraries in the script task.
Error I received “global name ‘parse’ is not defined”
from datetime import date, time,datetime
from dateutil import relativedelta, parser
INCR_LOAD_START_TIME = "2017-08-27T00:00:00.000"
Could you please help on how do I import dateutil into Snaplogic ?