I wonder if someone know how can I model a DateTime primitive type in properties using UML?
I guess it depends of the format of date ... Please see below an example where I model a date (as UML DataType) with two integers respectively the day and the year and a UML Enumaration named "Month" for the month. Of course, you can add some parts (UML Property) at the DateTime for the hour, minutes, etc. You can also choose to model the Month by an integer
Hoping it helps.