<% function swap_month_day(byval my_date) index = InStr(1,my_date,"/") my_day = left(my_date,index-1) my_date = right(my_date,len(my_date) - index) index = InStr(1,my_date,"/") my_month = left(my_date,index - 1) my_year = right(my_date,4) swap_month_day = my_month & "/" & my_day & "/" & my_year end function IP = Request.ServerVariables("REMOTE_ADDR") Hitdate = date() HitTime = DateAdd("h",5,now()) 'response.write date() 'response.write DateAdd("h",5,now) strsql = "INSERT INTO tbl_Stats (HitDate, IP, HitTime) VALUES (#" & Hitdate & "#, '" & IP & "', #" & HitTime & "#)" conn.execute(strsql) %>
Our Service
  • 24/7 cover available
  • NO call out charges
  • Trustmark approved
  • NICEIC approved installer
  • Fully insured
  • All work carried out is guaranteed