Call the accessors directly instead of using nonexistent intermediary.
Format the archive time as expected.
Remove unneeded manipulation of G:D:Allocation variables.
Remove extra whitespace.