When the following code is run against a daily one year bar chart the date, day, fullyear and month never change – whereas I was expecting the values to vary, depending on the bar date? The constant values returned are date=2, day=3, year=2008, month=3.
Can you tell me the error of my ways? Thanks, Joe Miller
-----------code snippet
var todayX = new Date();
MY_FUNCTION_output_debug_msg("115: todayX.getDate() = ",todayX.getDate());
MY_FUNCTION_output_debug_msg("116: todayX.getDay() = ",todayX.getDay()); MY_FUNCTION_output_debug_msg("117: todayX.getFullYear() = ",todayX.getFullYear()); MY_FUNCTION_output_debug_msg("121: todayX.getMonth() = ",todayX.getMonth());
Can you tell me the error of my ways? Thanks, Joe Miller
-----------code snippet
var todayX = new Date();
MY_FUNCTION_output_debug_msg("115: todayX.getDate() = ",todayX.getDate());
MY_FUNCTION_output_debug_msg("116: todayX.getDay() = ",todayX.getDay()); MY_FUNCTION_output_debug_msg("117: todayX.getFullYear() = ",todayX.getFullYear()); MY_FUNCTION_output_debug_msg("121: todayX.getMonth() = ",todayX.getMonth());
Comment