Hello,
ive ran into a snag with my sql code and need a hand if possible.
Code:
Select distinct from_unixtime(timestamp, '%Y-%m-%d') from netagent.os_table
where from_unixtime(timestamp, '%Y-%m-%d') > CURDATE() - INTERVAL 40 DAY
order by from_unixtime(timestamp, '%Y-%m-%d')
right now it pulls the dates specified. What i need to do is exclude the weekends. How would i do that?
If anyone could help that would be great. Thanks