Hi everyone!
First of all, I'll introduce myself. I'm new to this forum and work as an engineer in Spain. I'll hope I'll be able to help and be helped in this exciting field.
My question is the following:
When I call the FC6 (DT to DATE) the FC expects a DATE_AND_TIME parameter as input. Would it be possible to assign an ANY pointer to do this?
For example:
CALL "DT to DATE"
IN := P#DB1.DBX 10.0 DT 1
RET_VAL := DB1.DBW 1
I previously declared this variable in the DB as DATE_AND_TIME. I've already tried it and get an error, but I don't know if there's a way to do it.
Thanks in advance!
PD: btw sorry because of my probable not-accurate english due to the fact that i'm not a native speaker
First of all, I'll introduce myself. I'm new to this forum and work as an engineer in Spain. I'll hope I'll be able to help and be helped in this exciting field.
My question is the following:
When I call the FC6 (DT to DATE) the FC expects a DATE_AND_TIME parameter as input. Would it be possible to assign an ANY pointer to do this?
For example:
CALL "DT to DATE"
IN := P#DB1.DBX 10.0 DT 1
RET_VAL := DB1.DBW 1
I previously declared this variable in the DB as DATE_AND_TIME. I've already tried it and get an error, but I don't know if there's a way to do it.
Thanks in advance!
PD: btw sorry because of my probable not-accurate english due to the fact that i'm not a native speaker