Hello all,
I have played around with many variations and this what I have come up with so far. The below code as you can see is a function and I have it in a module called JulianDateConvert since I have not been able to combine it with the Sub (probably cant combine them).
The below code should call the function 'CDate2Julian' above, retrieve the user entered date from the text box called ReqDate and place the converted date into the JulianDate text box.![]()
Please Login or Register to view this content.
Testing![]()
Please Login or Register to view this content.
in immediate mode returns the correct date for 8-11-2009 which is 9223.![]()
Please Login or Register to view this content.
Using
in immediate mode for the same date above displays 2223 in immediate mode in which the first digit should be a 9.![]()
Please Login or Register to view this content.
Can someone please assist me in getting the correct julian date to display on the form either after the date is entered on the form or when a button is pressed.
Thanks,
Andrew
Bookmarks