How to get a return of a month-day column from a year-month-day column?

DataGraph Forums Technical Support Support Desk How to get a return of a month-day column from a year-month-day column?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5792
    petercreate
    Participant

      I checked the function reference. There are only separate day, month, year functions.

      #5793
      dgteam
      Moderator

        You can use the ICU format to specify the display format.  Hover over the entry box to get a list of common format stings.  Does that help?

        format

        #5794
        petercreate
        Participant

          Thanks. My intent was to only keep the value of month and day but excluding year, not just not showing the complete date. I have columns of daily data from some year to another and want to compare them between years. So I need put the daily values in lines from day 1 to day 365 and repeat them with different-year data above the same x-axis. I put an example below. Sorry, they are in hours 🙂

          Screen Shot 2021-02-02 at 11.47.34

          #5796
          dgteam
          Moderator

            See if this helps ….

            You can use the month( ) and day( ) functions in separate columns and then combine them using a Text Expression column.

            Time

            Here is the plot with Day of Year as the x-axis.

            one

            The same graph with the x-tick mark labels set in the Axis settings to the month-day.

            two

            Hope this helps!

             

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.

          DataGraph Forums Technical Support Support Desk How to get a return of a month-day column from a year-month-day column?