Declare @Result as varchar(100)Declare @OldYear as varchar(4)Declare @OldMonth as varchar(2)Declare @OldDay as varchar(2)Declare @NewYear as varchar(4)Declare @NewMonth as varchar(2)Declare @NewDay as varchar(2)Declare @OldHour as varchar(2)Declare @OldMin as varchar(2)Declare @NewHour as varchar(2)Declare @NewMin as varchar(2)Declare @TempMonth as intDeclare @TempYear as intDeclare @ResultDay as intDeclare @ResultHour as intDeclare @ResultMin as int