Dimension a subroutine

Trying to dimension a subroutine. Here is what I have so far.


     date = new DateTime(yr, mo-1, dy, hr24, mn, 0);      

Textbox7.value = IsDst(date);


private void int IsDst(Date date){

This looks like java to me, not javascript.

How do I do this in Javascript?

I’m not sure what you are trying to do. Can you give us more details? You don’t even need to provide code. Just explain it in plain language.

In dimensioning a subroutine you must have a “Date” if it is a date type so it will recognize the type of input to that particular formatting. The output of that subroutine is as an “Integer”. These need to be addressed to be correct.

JavaScript neither has strong nor static typing. You cannot achieve what you want in JavaScript.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.