How to change the format of the replacement variable ?

Can anyone say how we can change the format of the replacement variable?

 

(eg)

Format in Mysql :

2018-02-09 02:58:45

When i ran the job the format which sits in the replacement variable value column is  2/9/2018 2:58:45 AM.

 

Becuase of this the query is returning a wrong result set can anyone help me with this ?

 

Comments

  • Tomo
    Tomo Contributor

    Hi @user06832

     

    It is the result correctly converted to timestamp type.
    We convert it with BEAST MODE at card creation and use it.

    date_format(`datetime`, '%Y-%m-%d %H:%i:%s')
  • Hi Tomo, The below solution works in beast mode, but my question was how to replace the date format in the replacement variable .

     

    To rephrase my question , the domo workbench is reading the date as m/d/yyyy hh:mm:ss AM, but this is not who is stored in the SQL DB from which am importing thats casing an issue when am importing  only the incremental data.

     

    @Domo team , please help

This discussion has been closed.