Emmmmm...
Mi hanno sbrindellato il cervello (non ne avevo bisogno, sono già sbrindellato per fatti mia) dicendomi che con mysql avrei risolto definitivamente il problema del formato date che si presenta invece con access...
Adesso che?
Mi ritrovo ad usare le funzioni di conversioni date e tempo (imente bontà sua) come facevo in Access ? Ma che significa???
codice:
function getGMTDate(argDate,argGMT)
getGMTDate = dateadd("h",argGMT,argDate)
end function
function formatGMTDate(argDate, argGMT, argFormat)
dim tmpdate,tmpdateoutput
tmpdate = getGMTDate(argDate,argGMT)
tmpdateoutput = argFormat
tmpdateoutput = replace(tmpdateoutput,"dd",right("0" & day(tmpdate),2))
tmpdateoutput = replace(tmpdateoutput,"mm",right("0" & month(tmpdate),2))
tmpdateoutput = replace(tmpdateoutput,"yyyy",year(tmpdate))
tmpdateoutput = replace(tmpdateoutput,"yy",right(year(tmpdate),2))
tmpdateoutput = replace(tmpdateoutput,"h",right("0" & hour(tmpdate),2))
tmpdateoutput = replace(tmpdateoutput,"m",right("0" & minute(tmpdate),2))
tmpdateoutput = replace(tmpdateoutput,"s",right("0" & second(tmpdate),2))
formatGMTDate = tmpdateoutput
end function
DataOdierna = formatGMTDate(date(),0,"yyyy-mm-dd")
tempo = formatGMTDate(time(),0,"h:m:s")