Skip to main content
Solved

Get DAYNAME from any date time attribute

  • December 14, 2017
  • 4 replies
  • 301 views

Best answer by david_r

You can use the DateTimeConverter with either of the following output formats:

  • %u - day of the week as an integer, 1=Monday, 7=Sunday
  • %A - day of the week in English (e.g. "Monday")

Look at the Quick Reference section inside the DateTimeConverter transformer for an overview of all the formatting options:

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.

4 replies

david_r
Celebrity
  • 8394 replies
  • Best Answer
  • December 14, 2017

You can use the DateTimeConverter with either of the following output formats:

  • %u - day of the week as an integer, 1=Monday, 7=Sunday
  • %A - day of the week in English (e.g. "Monday")

Look at the Quick Reference section inside the DateTimeConverter transformer for an overview of all the formatting options:


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3434 replies
  • December 14, 2017

You can also use the DateTimeFormat function in an AttributeCreator/AttributeManager or similar

e.g.

@DateTimeFormat(@Value(date),%A)


  • Author
  • 11 replies
  • December 14, 2017

You can use the DateTimeConverter with either of the following output formats:

  • %u - day of the week as an integer, 1=Monday, 7=Sunday
  • %A - day of the week in English (e.g. "Monday")

Look at the Quick Reference section inside the DateTimeConverter transformer for an overview of all the formatting options:

many thanks, simple when you where to look and which transformer.

 

 

 


david_r
Celebrity
  • 8394 replies
  • December 14, 2017
many thanks, simple when you where to look and which transformer.

 

 

 

Agree, that makes the whole difference and that's why we have these forums :-)