XML timestamptype using VBScript or SQL

The XML “timestamptype” date/time format is as follows: 2015-11-19T11:02:02.000000 Recently during a project of integrating systems together and creating XML files, I’ve had to create this in VBScript and SQL. Here’s the code: SQL VBScript: Year(Now) & "-" & Right("0" & Month(Now),2) & "-" & Right("0" & Day(Now),2) & "T"…