I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
Jeg har disse too functioner som laver yyyy-mm-dd format ud fra en dato..:
function Two(S) two = CStr(S) while len(two)<2 two = "0" & two wend end function function Dato(datoen) da = Two(Year(datoen)) & "-" & Two(Month(datoen)) & "-" & Two(Day(datoen)) Dato = da end function
"SELECT * FROM TABEL WHERE ADDET > '" & Dato(rs("LAST_HERE")) & "'"
Det var så lidt. Jeg har også en hvor den laver dato/tid om til formatet: yyyy-mm-dd hh:mm:ss
function DatoTid(datoen) da = Two(Year(datoen)) & "-" & Two(Month(datoen)) & "-" & Two(Day(datoen)) ti = Two(Hour(datoen)) & ":" & Two(Minute(datoen)) & ":" & Two(Second(datoen)) Dato = da & " " & ti end function
Den kan eksvis bruges hvis du vil indsætte now: DatoTid(now)
doh så kom der copy/paste fejl... function DatoTid(datoen) da = Two(Year(datoen)) & "-" & Two(Month(datoen)) & "-" & Two(Day(datoen)) ti = Two(Hour(datoen)) & ":" & Two(Minute(datoen)) & ":" & Two(Second(datoen)) DatoTid = da & " " & ti end function
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.