Search the Community
Showing results for tags 'sql timestamp'.
$sMsg = '2017-09-04 18:42:38' _DateDiff ('h', $sMsg , _NowCalc() ) I could not find anything recent, so I thought I would put it here. The '2017-09-04' date is a typical SQL timestamp. The _NowCalc() is a typical AutoIt date calculator. Much to my surprise and delight, _DateDiff works correctly with these two dates without any prior conversion. I am guessing that internally the separating characters (-/) get ignore. Does save on additional code. Skysnake