I am desperately trying to get the current time and date, without success ;-(
this is my code (b4xpages)
the variable datex remains empty. I included the DateUtils library, but to no avail.
the compiler doesn't even throw an error messge.
any suggestions?
this is my code (b4xpages)
B4X:
DateTime.TimeFormat = "hh:mm"
DateTime.DateFormat = "dd.MMM.yyyy"
datex = DateTime.Time(DateTime.Now)
the variable datex remains empty. I included the DateUtils library, but to no avail.
the compiler doesn't even throw an error messge.
any suggestions?