Leading zeros to string formatting

"2012-01-01T12:12:12.010Z" instead of "2012-01-01T12:12:12.10Z".