Evgenych Posted May 20, 2005 Share Posted May 20, 2005 Subj. Link to comment Share on other sites More sharing options...
GaryFrost Posted May 20, 2005 Share Posted May 20, 2005 Try looking at the Date Management in the User Defined Functions in the help SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
/dev/null Posted May 20, 2005 Share Posted May 20, 2005 #include <Date.au3> $today = _NowCalcDate() $days_to_next_friday = 6-@Wday $days_since_last_friday = @Wday+1 $dateNextFriday = _DateTimeFormat(_DateAdd ("d",$days_to_next_friday,$today),0) $dateLastFriday = _DateTimeFormat(_DateAdd ("d",-$days_since_last_friday,$today),0) MsgBox( 4096, "", "Next Friday: " & $dateNextFriday ) MsgBox( 4096, "", "Last Friday: " & $dateLastFriday ) Cheers Kurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Evgenych Posted May 21, 2005 Author Share Posted May 21, 2005 Thank's for idea. My Date.au3 was out of date, without _DateAdd Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now