Skip to main content
Question

Can't parse year value

  • May 1, 2018
  • 1 reply
  • 0 views

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)

1 reply

erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • May 1, 2018

You could try:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings