日期日历框我正在尝试制作一个运行趋势的 jmp 应用程序。 我有两个带有“从”和“到”日期的日历框。 当我单击“运行脚本”按钮时,我希望能够使用日历框中定义的日期来选择趋势中的日期。 如何从日历框中获取值以在脚本中使用?

高级统计建模自动化和脚本编写内容组织数据探索和可视化质量和工艺工程分享和交流结果回复:日期日历框谢谢@pmroz和@Craige_Hales这非常有帮助!现在工作顺利,谢谢你们俩。
回复:日期日历框你可能会喜欢使用日历框选择日期范围
Linked calendar boxesLinked calendar boxes链接的日历框
回复:日期日历框没有意识到您正在使用日历框。尝试这个:
nw = new window("Test Dates", << modal(),
text box("Monitoring & Trending"),
hlistbox(
panelbox("From Date",
cal_start = calendar box(<< Show Time( 0 )),
),
panelbox("To Date",
cal_end = calendar box(<< Show Time( 0 )),
),
),
ok_button = button box("OK",
startdate = cal_start << get date;
enddate = cal_end << get date;
)
);
print(format(startdate, "ddMonyyyy" ), format(enddate, "ddMonyyyy" ));
回复:日期日历框尝试这样的事情:
nw = new window("Test Dates", << modal(),
Lineup Box( N Col( 2 ),
text box("Enter start date: "),
start_neb = number edit box(today(), << Set Format( Format( "ddMonyyyy", 10))),
text box("Enter end date: "),
end_neb = number edit box(today(), << Set Format( Format( "ddMonyyyy", 10))),
),
ok_button = button box("OK",
startdate = start_neb << get;
enddate = end_neb << get;
)
);
print(format(startdate, "ddMonyyyy" ), format(enddate, "ddMonyyyy" ));

从日志中:
"11Apr2022"
"24Apr2022"
回复:日期日历框这是我尝试过的,但似乎不起作用
NumberEdit1 << set Function( Function( {this}, sd = NumberEdit1 << Get Date() ) );
NumberEdit2 << set Function( Function( {this}, ed = NumberEdit2 << Get Date() ) );
Show( sd );
startdate = Format( sd, "ddMonyyyy" );
Show( ed );
enddate = Format( ed, "ddMonyyyy" );