Skip to main content
Question

How to create DateTimeNow without attribute without the milliseconds/seconds

  • December 17, 2020
  • 2 replies
  • 185 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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

hkingsbury
Celebrity
Forum|alt.badge.img+67
  • 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)