📜  嵌套 If M 语言 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:00.093000             🧑  作者: Mango

代码示例1
if [Requested Date] >= #date(2018, 1, 1) and [Requested Date] <= #date(2018, 1, 26) 
then #date(2018, 1, 1) 
else if [Requested Date] >= #date(2018, 1, 27) and [Requested Date] <= #date(2018, 2, 23) 
then #date(2018, 2, 1) 
else #date(9999, 12, 31)