18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Timestamp -> getdb

rupalnrupaln Members
edited May 2010 in Sahi - Open Source
Is there a way to retrieve a Date field using getDB? Coz when I use the below statement it retrieves a null value:
_assertEqual("10/11/2010 12:00:00.000000 AM" , $rs1[0]["HEARING_DT"].getTimestamp);

The retrieved value for $rs1[0]["HEARING_DT"] is "2010-10-11.0.0. 0. 0" vs. "10/11/2010 12:00:00.000000 AM"

I have tried to parse it, but doesn't help...

Any suggestions, would be helpful

Thanks,

Comments

Sign In or Register to comment.