use statically sized arrays in DateTime extension

Reviewed By: @elgenie

Differential Revision: D1612621