Prints date formatted according to $0