Hi there, I want to save the current date & time to a .txt file. I am getting the current time by : Code: CFAbsoluteTime myCurrentTime = CFAbsoluteTimeGetCurrent(); and i am writing it to the file: Code: paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); documentsDirectory = [paths objectAtIndex:0]; filePath = [documentsDirectory stringByAppendingPathComponent:@"log.txt"]; [filePath retain]; [myCurrentTime writeToFile:filePath atomically:YES encoding:NSASCIIStringEncoding error:NULL]; My IDE throws an error : Invalid Receiver Type CFAbsoluteTime. Is there a way that I can write the datetime to my file? (the string format is allowed to write file. But its here as CFAbsoluteTime) Thanks in advance!