I am currently working with the beautiful SEBNam Pack 2.0 to create a Vietnam Campaign which depicts some of the key events that occurred during the fall 1965 in South Vietnam Central Highlands: The Pleiku Campaign.
A few missions have already been completed, but the full campaign is not completed yet.
The problem: I am not able to set the day of the week correctly in the editor to reflect actual days of 1965. As the editor does not allow to set the year, I have tried to edit manually the mission.sqm file, and made the following change:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class Intel
{
year=1965;
month=11;
day=14;
hour=10;
};
This trick seems to work from January 2nd, 1970 and onward (the day of the week is correct, for example Jan 2nd 1970 returns Friday, which is correct). Before January 2nd, 1970, OPF returns always Sunday (For example Sunday, Jan 1st 1970, which is obviously incorrect). Have you also noticed this issue? Is it a limitation from OPF? Is there a way to bypass this problem (other than changing the year to an equivalent year in terms of "days of the week", for example use 1971 instead of 1965, the calendar being equal on both these years)?
Thanks in advance.
John.