&nbsp;<BR>Hi,<BR><BR>how can I achieve the above .<BR>i have in a page <BR>&#060;%@ import Namespace = "Microsoft.JScript" %&#062;<BR>&#060;%@ import Namespace="TimeJS" %&#062;<BR>and i get the error "The type or namespace name &#039;JScript&#039; does not exist in the class or namespace &#039;Microsoft&#039; (are you missing an assembly reference?)" <BR><BR>or simpler,<BR>is there a function/method in C# similar with getTime() from JScript.<BR>"The getTime method returns an integer value representing the number of milliseconds between midnight, January 1, 1970 and the time value in the Date object"<BR><BR>Thank you !<BR><BR>------component--------------<BR>package TimeJS {<BR> public class GetTime {<BR> public function milliDif() {<BR> var d = new Date();<BR> return d.getTime() <BR> }<BR> }<BR> }