how to get today date in YYYYMMDD in firebird

后端 未结 4 1618
情深已故
情深已故 2021-01-25 12:57

how to get today date in YYYYMMDD in firebird, I had a look on following but could not figured how to write this.

4条回答
  •  青春惊慌失措
    2021-01-25 13:48

    I think you can do:

    select replace(cast(cast('Now' as date) as varchar(10)), '-', '')
    from rdb$database 
    

提交回复
热议问题