Skip to main content
Question

How to create DateTimeNow without attribute without the milliseconds/seconds

  • December 17, 2020
  • 2 replies
  • 138 views

Hi pretty new to this software/role as BI Developer. I have noticed that when using - @DateTimeParse(@round(@DateTimeNow()),%Y%m%d%H%M%s) In an attribute creator it returns an undefined value of - 19700101000009+00:00. What is the correct way to do this so it returns DateTimeNow.

2 replies

hkingsbury
Celebrity
Forum|alt.badge.img+54
  • Celebrity
  • December 17, 2020

Give the DateTimeStamper and DateTimeConverter a go

Screenshot 2020-12-18 094634


Forum|alt.badge.img+2
  • December 17, 2020

@wardalexander6​  You're getting the overflow number because you're using %s (Seconds since Unix Epoch) instead of %S (two digit seconds)


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