uigetdatetime launches a calendar widget to select a date/time
Calling Syntax
`newTime = uigetdatetime()` launches a calendar widget with the current date and time as the initially selected date/time at 0 hrs offset from UTC
`newTime = uigetdatetime('displayTime',t)` launches a calendar widget with t as the initially selected date/time at 0 hrs offset from UTC where t is a matlab serial date (datenum), datestring (datestr), or datetime object
`newTime = uigetdatetime('displayTime',t,'displayTimeZone',tz)` launches a calendar width with t as the initially selected date/time with UTC offset associated with string tz where tz is a java timezone string. to see a list of allowed timezones: tzList = cell(java.util.TimeZone.getAvailableIDs)
copyleft 2018 Peter Cook (peter DOT cook AT colorado DOT edu) with help from Yair Altman (altmany AT gmail DOT com)
引用格式
Peter Cook (2024). uigetdatetime (https://github.com/peterfranciscook/uigetdatetime), GitHub. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!无法下载基于 GitHub 默认分支的版本
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |
|