I have a variable name Losstime which has date with time stamp My scenario is if losstime in between 4pm 29jan2011 (Here 4pm inclusive) to 4pm29jan2012 (Here 4pm is exclusive ) then the variable Policy year = 2011/12 (Variable need to create as per the scenario) if losstime in between 4pm 29jan2010 (Here 4pm inclusive) to 4pm29jan2011 (Here 4pm is exclusive ) then the variable Policy year = 2010/11 (Variable need to create as per the scenario) etc... Please help me with Sas and Sql code.
... View more