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.
|
Date format changes from 'yyyy-mm-dd hh:mm:ss' to 'mm/dd/yyyy'
|
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Date format changes from 'yyyy-mm-dd hh:mm:ss' to 'mm/dd/yyyy' - by Rashmi Vishwanath - 01-08-2013, 05:22 PM
RE: Date format changes from 'yyyy-mm-dd hh:mm:ss' to 'mm/dd/yyyy' - by Rashmi Vishwanath - 01-09-2013, 03:27 PM
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 | 4,516 |
05-30-2014, 01:25 PM Last Post: Tarik Sheth |
|
| Validate Numeric value is displaying expected format | kalaivanan123 | 1 | 3,833 |
09-23-2013, 08:45 PM Last Post: ravi.gajul |
|
| How to identify the sap date format. | kamal262007 | 4 | 4,415 |
10-17-2012, 08:25 AM Last Post: kamal262007 |
|
| Need Help Datatable Parameterzing Date | debindas | 1 | 4,084 |
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 | 4,514 |
05-28-2012, 09:29 PM Last Post: defcon3 |
|
Users browsing this thread: 1 Guest(s)

