Skip to main content

Hey,

I'm unable to parse a single year value. It says it needs a month and day value. Is there a way to get past this?

@TimeZoneSet(@DateTimeParse(@Value(Year),%Y),local)

You could try:

@TimeZoneSet(@DateTimeParse(@Value(Year)-01-01,%Y-%m-%d),local)


Reply