Converting MSSQL GetUTCDate () to PHP / Unix / MySQL Ticks
I am inserting DateTime into MsSQL using the GetUTCDate () function provided by MsSQL.
I need to convert the time in C # to show it as a Unix / MySQL integer so that it can eventually be manipulated with PHP.
I believe the Unix / PHP / MySQL marks start at 1/1/1970, but I'm not sure how to convert the MsSql / C # equiv to this unix standard.
Any help would be appreciated.
+1
source to share
2 answers