ymd.inc

来自「一个软件工程的软件质量web跟踪管理系统」· INC 代码 · 共 14 行

INC
14
字号
<%
Function YMD(MyDate)
    on error resume next
    strYear=Year(MyDate)
    strMonth=Month(MyDate)
    strDay=Day(MyDate)        
    if len(strMonth)=1 then strMonth="0" & strMonth end if
    if len(strDay)=1 then strDay="0" & strDay end if
    YMD=strYear & "-" &strMonth & "-" &strDay
    If Err.description <> "" Then
    YMD="&nbsp;" 
    end if
end function
%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?