@Jorn depends on the context. For example if this is homework and splitting + parsing is the point of the exercise then using a parser for date may defeat the purpose of the exercise. Since OP didn't specify I'd keep both doors opened.
↧