Mistři v programování na #hovnokod

Visual Basic #24

Public Function date_to_sql_date(adate As Date) As String
 date_to_sql_date = Month(adate) & "/" & Day(adate) & "/" & Year(adate) & " " & Hour(adate) & ":" & Minute(adate) & ":" & Second(adate)
End Function

Anonymous,