Information générale
Titre:
Algorithm for missing dates.
Versions des environnements
Network:
Windows 2003 Server
I have a bunch of single letter codes for each date that I'm trying to string together, however the data may be missing dates for weekends and holidays. The result should look something like "ABBAC..CB.AA..BBAB....BACA"
I can put the date, week, day of week, and letter code into an array with an SQL statement and walk the array - adding the weekend breaks seems easy, but I'm having difficulty with missing dates during the week. Can anyone help me with an algorithm or faster way to do this?
Chris
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement