Topic
  • 2 replies
  • Latest Post - ‏2012-12-07T20:14:37Z by kabr
kabr
kabr
115 Posts

Pinned topic dateAndTime()

‏2012-12-07T14:25:06Z |

I have a problem here.
I am trying to get the dateAndTime(obj."Last Modified On") of some objects,
 

Date srcDate = obj."Last Modified On"
     srcDate = dateAndTime(srcDate)


but when I print the dates all I get is something like this:

Source: 5 12/06/12 00:00:00
Target: 6 12/06/12 00:00:00

What am I doing wrong?

Karl

Updated on 2014-01-06T14:22:22Z at 2014-01-06T14:22:22Z by iron-man
  • SystemAdmin
    SystemAdmin
    3180 Posts

    Re: dateAndTime()

    ‏2012-12-07T16:22:53Z  
    See http://www.ibm.com/developerworks/forums/thread.jspa?threadID=464259&tstart=0

    • Pekka Mäkinen - http://www.softqa.eu/
  • kabr
    kabr
    115 Posts

    Re: dateAndTime()

    ‏2012-12-07T20:14:37Z  
    Thank you, Pekka.
    This is exactly what I was looking for.
    I only wonder why this is not properly documented.

    Karl