Test Data Manager

  • 1.  CA DATAMAKER - ~cdate~ function returns incorrect data

    Posted Jan 15, 2018 06:19 AM
      |   view attached

    Hello;

     

    I´m publishing a pool, using sybase ASE as my datasource.

    When i use the ~cdate~ function on a field, it not returns the right current date; it´s return me '2017-09-25 00:00:00.0', on the evaluation panel, and when i publish, it still publishing the wrong date.

     

    I checked all time settings, on all servers and client machine involved, and all of them are set right...

     

    As a workaround, i´m getting the getdate() from sybase and publishing it...

     

    Any hint?

    Attachment(s)



  • 2.  Re: CA DATAMAKER - ~cdate~ function returns incorrect data
    Best Answer

    Posted Jan 16, 2018 04:00 AM

    Have you tried using SDATE instead, which should give you the equivalent of 'sysdate'?



  • 3.  Re: CA DATAMAKER - ~cdate~ function returns incorrect data

    Posted Jan 16, 2018 05:43 AM

    James;

     

    Thx;

    With SDATE it worked right!

    Whats the diference between CDATE and SDATE?



  • 4.  Re: CA DATAMAKER - ~cdate~ function returns incorrect data

    Broadcom Employee
    Posted Jan 16, 2018 10:25 AM

    ~CDATE~ is the user-specified current date as defined in the project settings and ~SDATE~ specifies the system date.