It would depend largely upon whether the data could be received in a "standardized" or expected format, which is why you already know how to do this with seperate inputs.
If you want to put the burden on the user, you can do it easily. But users can't be trusted, generally. So, why not use the seperate inputs?