func format(self: datetime; format_spec = ""): string {....raises: [ValueError], tags: [], forbids: [].}
func formatValue(result: var string; value: datetime; specifier: string) {. ...raises: [ValueError], tags: [], forbids: [].}