Hi. This backup file was working in tally erp9 but when I tried to import it in tally prime 2.1 it seems to give me error stating backup failed (Screenshot enclosed for full error) Digging deeper made me realise that the error is because of this function where I'm modifying date to suit my requirements as below [System: Formula] DestPath : ##DestinationPath + "\" + ##SVCurrentCompany + "\" + @@DateForm + "\" + @@TimeForm CoNumber : $$String$CompanyNumber:Company:##SVCurrentCompany):5 DateForm : $$String@DateStr DateStr : $$YYYYMMDDDateFormat:$$MachineDate:"-" Here if I change the DateForm : $$String@DateStr to DateForm : $$String:$$MachineDate The TDL works perfectly. The above code is just an extract and the entire TDL is attached for reference. Thanks in advance