[cisco-voip] UCCX scripting string to date format
Adam Blomfield
adman at adman.net
Fri Jun 5 15:08:20 EDT 2009
You have to use the string.substring function to break that field out into
it's seperate components and then piece them back together again with the
slashes into another string, which you can then turn into a date variable. I
had to do something similar recently and it works just fine. Let me know if
you would like a sample aef.
-Adam
On Fri, Jun 5, 2009 at 1:33 PM, Mike O <mikeeo at msn.com> wrote:
> I'm pulling a date from SQL in the following format "YYYYMMDD" (20090619)
> how can I read this back to the caller? I tried using the set command to
> change it to DATE type and the script bombs.
>
> Thanks,
> Mike
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20090605/520f54e6/attachment.html>
More information about the cisco-voip
mailing list