1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to display blank as 00/00/0000 ?

Discussion in 'JavaScript' started by MiserableShake0, Jul 31, 2021.

  1. #1
    I am not a programer
    [​IMG]
    I am using Informer report writer. Trying to pull data from from Column A “lasttermdate” to a new column.
    If lasttermdate has a value, I want to pull the displayed value
    If lasttermdate is blank I want to display 00/00/0000

    I am able to grab the dates not equal to null/blank. But can not get the value 00/00/0000 to display for the blanks.

    Suggestions?

    Code:
    if(lasttermdate = “”) {
    “00/00/0000”;
    } else {
    lasttermdate;
    }
     
    MiserableShake0, Jul 31, 2021 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,498
    Likes Received:
    4,460
    Best Answers:
    123
    Trophy Points:
    665