Discussions

Expand all | Collapse all

Date Formula Field

  • 1.  Date Formula Field

    Posted 24 days ago
    Edited by Jack Woods 24 days ago
      |   view attached
    Hey Community, 

    I'm looking to make a formula that combines My Numeric Date - Month - Year fields into one. Please see the screen grab attached. Let me now if you have any examples or the best way to do this.

    Once this date field is set up - I need to do be able to match this date field to a standard "Date" formatted field so that I can build pipelines off of this and create resource allocations. Any information on that would be helpful.

    Thank you,

    ------------------------------
    Jack Woods | Low Code 4 Lyfe
    ------------------------------


  • 2.  RE: Date Formula Field

    Posted 24 days ago
    Can you give us an example of the result you are looking for based on the first line of the screen shot report?  Do you want th day and the month zero padded, for example?

    ------------------------------
    Mark Shnier (YQC)
    mark.shnier@gmail.com
    ------------------------------



  • 3.  RE: Date Formula Field

    Posted 24 days ago
    I thought about that right after I made the post lol. yes, I need it to be zero padded for single digit numbers. It also should be a dash (-) and NOT and slash (/). Examples below.

    "Month-Day-Year": "11-02-2021" or "08-09-2021"

    ------------------------------
    Jack Woods | Low Code 4 Lyfe
    ------------------------------



  • 4.  RE: Date Formula Field

    Posted 24 days ago
    That worked. Some minor changed to the format. I needed to add a ToText() to the year field 

    List("-",
    PadLeft(ToText([Month #]),2,"0"),
    PadLeft(ToText([Date #]),2,"0"),
    ToText([Month - Year #]))

    ------------------------------
    Jack Woods | Low Code 4 Lyfe
    ------------------------------



  • 5.  RE: Date Formula Field

    Posted 24 days ago
    List("-",
    PadLeft(ToText([Month #]),2,"0"),
    PadLeft(ToText([Day #]),2,"0"),​
    [Month- Year#])

    ------------------------------
    Mark Shnier (YQC)
    mark.shnier@gmail.com
    ------------------------------