728x90
반응형
Function TransAddDay(sdate, is_day)
If isnull(is_day) or Not isnumeric(is_day) or len(is_day) < 1 Then
is_day = 0
End if
TransEndDate = DATEADD("d",is_day, sdate)
End Function
Function TransAddWeek(sdate, is_day)
If isnull(is_day) or Not isnumeric(is_day) or len(is_day) < 1 Then
is_day = 0
End if
TransEndDate = DATEADD("w",is_day, sdate)
End Function
Function TransAddMonth(sdate, is_day)
If isnull(is_day) or Not isnumeric(is_day) or len(is_day) < 1 Then
is_day = 0
End if
TransEndDate = DATEADD("m",is_day, sdate)
End Function
728x90
반응형
'back-end > ASP & PHP' 카테고리의 다른 글
| [PHP] 유용한 코드2 (0) | 2023.06.19 |
|---|---|
| [PHP] 유용한 코드1 (0) | 2023.06.19 |
| [ASP] 버블소트 (0) | 2023.06.19 |
| [ASP] 글자수 제한 .... 붙여리턴 (0) | 2023.06.19 |
| [ASP] 랜덤값 생성 (0) | 2023.06.19 |