cancel
Showing results for 
Search instead for 
Did you mean: 

iCalendar

Former Member
0 Kudos

Hi All

Could you please tell me how to capture date time from icalendar and populate it into text box

code which i wrote is

function UpdateDate(){

var HeaderQuery = document.Calender.getQueryObject();

var a = HeaderQuery.getDateAsString();

}

i get the error document.Calender is null or not an object where Calender is the name of the applet

and also could you tell me in which format will i get the date

Thanks in advance

Thanks & Regards

Namita

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Problem is solved

Thanks

Now the problem is if the time is set to 00:30:42 it gives time as 12:30:42 and teh same time is displayed when the time is set 12:30:42. How iCalendar differentiates between AM and PM

Thanks & Regards

Namita

Former Member
0 Kudos

Namita,

By default, xMII uses the HH:mm:ss which will translate into 00:00:00 through 23:59:59. If you would like to literally use AM or PM, then use the "a" prefix.

Eg. hh:mm:ss a

Please refer to the page below for a detailed explanation of xMII Date Time Formatting...

http://help.sap.com/saphelp_xmii115/helpdata/en/popups/DateFormatPopup.htm

Former Member
0 Kudos

Thanks Michael

This has solved my problem of AM and PM

I will post back in case of any issues

Thanks & Regards

Namita

Answers (0)