以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  如何用代码查询,某一时间列的DateTimeFormat是如何的?  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=165282)

--  作者:pc005637
--  发布时间:2021/5/12 15:47:00
--  如何用代码查询,某一时间列的DateTimeFormat是如何的?
我们可以用代码,如
t.DataTable.DataCols("时间").SetDateTimeFormat(DateTimeFormatEnum.DateTime)
来设置时间列的显示方式。

如何用代码来查询,某一时间列的DateTimeFormat是如何的显示的?

--  作者:有点蓝
--  发布时间:2021/5/12 15:54:00
--  
Output.Show(t.DataTable.DataCols("时间").DateTimeFormat.Tostring)