getting time and date from datetime field in javascript RRS feed

  • Question

  • Hello guys, I need to get hours from the difference between two datetime fields. I wrote the javascript which will get the date from datetime field.

    But its not getting the correct time that entered on date time field. Its defaultly getting the current time on my system.

    So do you guys have any idea. How to get time from date time fields. and how calculate hours between two datetime fields using javascript.

    Friday, October 1, 2010 8:24 PM


All replies