SELECT convert(varchar, getdate(), 100) — mon dd yyyy hh:mmAM (or PM) — Oct 2 2010 11:01AM SELECT convert(varchar, getdate(), 101)…
Suppose you have two date in string format and you want to subtract one from another.Here is the code snippet.…
SELECT convert(varchar, getdate(), 100) — mon dd yyyy hh:mmAM (or PM) — Oct 2 2010 11:01AM SELECT convert(varchar, getdate(), 101)…
Suppose you have two date in string format and you want to subtract one from another.Here is the code snippet.…