Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Date format changes from 'yyyy-mm-dd hh:mm:ss' to 'mm/dd/yyyy'
#3
Not Solved
While inserting the date in the datatable column start with an single quote (e.g: '1/13/2012 5:29:35 AM). This will store the date as a string format in the datatable. While retrieving the value from the datatable you will get it as a string. Then you can use it for your comparison as required.
Reply


Messages In This Thread
RE: Date format changes from 'yyyy-mm-dd hh:mm:ss' to 'mm/dd/yyyy' - by soumen - 01-10-2013, 10:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP11.0 - Date format is changed as text while executing the QTP script. Automation Tester 1 3,916 05-30-2014, 01:25 PM
Last Post: Tarik Sheth
  Validate Numeric value is displaying expected format kalaivanan123 1 3,390 09-23-2013, 08:45 PM
Last Post: ravi.gajul
  How to identify the sap date format. kamal262007 4 3,564 10-17-2012, 08:25 AM
Last Post: kamal262007
  Need Help Datatable Parameterzing Date debindas 1 3,452 08-30-2012, 11:43 PM
Last Post: QTPScript
  How To Select Date From a Calender Image Where Date field is non editable? RameshKrishnan 1 3,856 05-28-2012, 09:29 PM
Last Post: defcon3

Forum Jump:


Users browsing this thread: 1 Guest(s)