| 06/09/2015 Learn a little more about .Net World each day, with www.Planet-Source-Code.com's Code of the Day! Current # of subscribers: 10,213 |
Make 9 cents to $300 per game playing Dollar Candy. The better you get, the more you make. Click for more info.
=================================================================
Would you like access to thousands of lines of source code instantly from your desktop? Then check out the Planet Source Code CD...hundreds of amazing programs at your fingertips with no online wait!
Click Here!
Code of the Day: (What is the code of the day? )
1) Find out if today is weekend
Submissions Since Yesterday:
NONE
1)Find out if today is weekend
Category: Miscellaneous
Level: Beginner
Description: Disclaimer: ------------ You are free to use it any way you want but credit would be appreciated. This example program is provided "as is" with no warranty of any kind. It is intended for demonstration purposes only. In particular, "it does no error handling". Author takes no responsibility for outcomes of using this software/web app. So use it at your own risk. ================================================================================================= ================================================================================================= Title: Find out if today is weekend ---------------------------------------------------------------------------------- File: Snippet Purpose: Helpful for VB.net beginners Technology: VB.Net 2005 Author: Sudershan Thaiba Cognizant Consulting Services Butwal, NEPAL Author can be reached @ thaiba.sudershan@gmail.com http://sudershan.t35.com Contact for custom software, web development, web marketing, SEO, WEB hosting, Domain, graphics designing at a very low price, but our services are of top quality. Sub FindWeekEnd() 'subroutine that finds out if today is a weekend or not If My.Computer.Clock.LocalTime.DayOfWeek = DayOfWeek.Saturday Or _ My.Computer.Clock.LocalTime.DayOfWeek = DayOfWeek.Sunday Then MsgBox("Happy Weekend!") Else MsgBox("Happy Weekday! Don't work too hard!") End If End Function ============================================================================================
Compatibility: VB.NET
Submitted on 1/20/2007 11:59:16 PM and accessed 3850 times.
Back to Top
Planet Source Code is the creation of Ian Ippolito
To be chosen as code of the day, a submission must be the most popular submission that has not yet been shown as the code of the day.
Mailing list administration:
Click here to:
- ... be removed from this mailing list or subscribe to other programming languages
- ... modify your subscription or change your email address
- ... advertise your product or service in this newsletter (or call Exhedra Solutions at (813) 908-9029)
If you have problems removing yourself you can also contact us at:
webmaster@planet-source-code.com
OR
Exhedra Solutions, Inc.
14310 North Dale Mabry Hwy
Suite #280
Tampa, FL 33618
P: (813) 908-9029
No comments:
Post a Comment