摘要:
通过ASP代码实现时间格式化下面试试先的代码Function Format_DateTime(S_DateTime,I_Format)Dim y, m, d, h, mi, sFormat_DateTime = ""If IsDate(S_DateTime) = False Then Exit Functiony = cstr(year(S_DateTime))m = cstr(month(S_DateTime))If len(m) = 1 Then m = "0" & md = cstr(day(S_DateTime))If len(d) = 阅读全文
摘要:
我们在实际在做数据库的操作的时候,经常会需要通过SQL语句来读取日期是星期几,得到当前日期的函数是:getdate()下面的几个函数都是使用的固定日期,可以修改成通过getdate(),来得到当前日期是星期几1:在Oracle 通过下面语句第一个:SELECT DECODE(dw, 0, '星期天', 1, '星期一', 2, '星期二', 3, '星期三', 4, '星期四', 5, '星期五', 6, '星期六') WEEK... 阅读全文
摘要:
文件结构+DocxToTextDemo +bin +Debug -DocxToTextDemo.vshost.exe -ICSharpCode.SharpZipLib.dll +Release -DocxToTextDemo.exe -ICSharpCode.SharpZipLib.dll -DocxToText.cs -DocxToTextDemo.csproj -Form1.cs -Form1.Designer.cs -Form1.resx +obj +Debug +TempPE -Program.cs +P... 阅读全文