Skip to main content
Solved

Is there a similair function as DateTimeNow() which takes only the current date and not the time part? I know I can make use of Timestamper but I'm curious if there are other even more simple ways of naming by date in the writer using Date function

  • May 4, 2023
  • 2 replies
  • 468 views

albjoh
Contributor
Forum|alt.badge.img+5
Is there a similair function as DateTimeNow() which takes only the current date and not the time part? I know I can make use of Timestamper but I'm curious if there are other even more simple ways of naming by date in the writer using Date functions.

Best answer by ebygomm

You can do the following to get just the date

@DateTimeFormat(@DateTimeNow(),%Y%m%d)

 

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

ebygomm
Influencer
Forum|alt.badge.img+45
  • Influencer
  • Best Answer
  • May 4, 2023

You can do the following to get just the date

@DateTimeFormat(@DateTimeNow(),%Y%m%d)

 


albjoh
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • May 4, 2023

You can do the following to get just the date

@DateTimeFormat(@DateTimeNow(),%Y%m%d)

 

Thats what I'm looking for, thanks.