The llvm-ar uses localtime to print the object timestamp and it is
subject to UTC offset (daylight for instance). The patch changes
the test to check against output of a 'date' command.
It fixes the D-flag.test failure on some aarch64 and arm bots,
which are situated on GMT with currently BST timezone.