Question
DatePart question
I am trying to do a datepart on a time datatype field in a
mysql db and having some problems displaying the hour. For a simple
explanation of what I am trying is this:
#DatePart("h", getLastedit.eventstarttime)#
This gives:
Parameter validation error for the DATEPART function.
The value of parameter 2, which is currently getLastedit.eventstarttime, must be a class java.util.Date value.
According to TFM I appear to be using it correctly, unless I cannot call the field I am wanting this way. Help anyone?
#DatePart("h", getLastedit.eventstarttime)#
This gives:
Parameter validation error for the DATEPART function.
The value of parameter 2, which is currently getLastedit.eventstarttime, must be a class java.util.Date value.
According to TFM I appear to be using it correctly, unless I cannot call the field I am wanting this way. Help anyone?
