一直以为datetimepicker控件只能选择日期,不能具体到时分秒,原来不是这样的,只是没有发现而已..
首先把format属性设置为custom
然后再设置customformat属性为: yyyy-MM-dd HH:mm:ss
效果如图所示
同步博客:Alvin's Blog
一直以为datetimepicker控件只能选择日期,不能具体到时分秒,原来不是这样的,只是没有发现而已..
首先把format属性设置为custom
然后再设置customformat属性为: yyyy-MM-dd HH:mm:ss
效果如图所示
同步博客:Alvin's Blog