Server Side Processing - Oracle

Server Side Processing - Oracle

dthunsterblichdthunsterblich Posts: 20Questions: 0Answers: 0
edited November 2012 in General
I use the server side processing script and an oracle database.

How can I convert the default date from: dd-mm-yy to dd-mm-yyyy?

Best wishes

Replies

  • dthunsterblichdthunsterblich Posts: 20Questions: 0Answers: 0
    edited November 2012
    and PHP
  • girishmrgirishmr Posts: 137Questions: 0Answers: 0
    How are you getting your input date?? Php??
  • dthunsterblichdthunsterblich Posts: 20Questions: 0Answers: 0
    edited November 2012
    The input date comes from the Server Side Script provided on this page:
    http://datatables.net/development/server-side/php_oracle

    I established a workaround for it. I defined a second Array (which contains the column name of the time fields) and I used it to find the respective values in $aColumns. Once I found them I used the to_char Method from oracle and executed the statement.

    It works for me but I guess it isn't the nicest way of doing it...
This discussion has been closed.