thanx for your very quick answer.
I was just about to delete my question, because i found out that I had to include the
XUI Views library instead of the DateUtils library.....there obviously is no documentation about that.
Dim datex As String
DateTime.TimeFormat = "hh:mm"
DateTime.DateFormat = "dd.MMM.yyyy"
datex = DateTime.Time(DateTime.Now)
Log(datex) 'shows the current time without PM or AM