T-SQL Gregorian To Persian Converter

Posted by on Aug 25, 2011 in SQL Server, T-SQL | No Comments

There are lots of times which you need a "Gregorian to Persian ( Shamsi ) Converter" in t-sql. below code will convert gregorian date string for example 2011-08-25 to persian or shamsi date string for example 1390-06-03 . just note this code will work on sql server 2005 or above because I used the Floor ...

Read More