Xojo Conferences
MBSOct2019CologneDE

Weekend Finder (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: [WayOff] After Big Crash?
Next thread: Marching Ants


Serializable ... kind of   -   Jan Erik Moström <
  Weekend Finder   -   Mia Nicole Whited
   Re: Weekend Finder   -   Noah Desch
    RE: Weekend Finder   -   Mia Nicole Whited

Weekend Finder
Date: 05.05.02 16:28 (Sun, 5 May 2002 11:28:48 -0400)
From: Mia Nicole Whited
Hi All,

Does anybody have a function out there that when
passed a date it can determine if it is a weekend
or not? If so, I would really appreciate it.

Thanks in advance,
Mia

---
Subscribe to the digest:
<mailto:<email address removed>>
Unsubscribe:
<mailto:<email address removed>>

Re: Weekend Finder
Date: 05.05.02 16:31 (Sun, 5 May 2002 11:31:28 -0400)
From: Noah Desch

On Sunday, May 5, 2002, at 11:28 AM, Mia Nicole Whited wrote:

> Hi All,
>
> Does anybody have a function out there that when
> passed a date it can determine if it is a weekend
> or not? If so, I would really appreciate it.

Function IsWeekend( D As Date )
return D.DayOfWeek = 1 or D.DayOfWeek = 7
End Function

-Noah Desch
Wireframe Software
http://wireframe.virtualave.net

"The noozle! The noozle on the hoose!"
-Groundskeeper Willie

---
Subscribe to the digest:
<mailto:<email address removed>>
Unsubscribe:
<mailto:<email address removed>>

RE: Weekend Finder
Date: 05.05.02 16:58 (Sun, 5 May 2002 11:58:37 -0400)
From: Mia Nicole Whited
Thank you ...

Mia

-----Original Message-----
From: <email address removed>
[mailto:<email address removed>]On Behalf Of Noah Desch
Sent: Sunday, May 05, 2002 11:31 AM
To: REALbasic Network Users Group
Subject: Re: Weekend Finder


On Sunday, May 5, 2002, at 11:28 AM, Mia Nicole Whited wrote:

> Hi All,
>
> Does anybody have a function out there that when
> passed a date it can determine if it is a weekend
> or not? If so, I would really appreciate it.

Function IsWeekend( D As Date )
return D.DayOfWeek = 1 or D.DayOfWeek = 7
End Function

-Noah Desch
Wireframe Software
http://wireframe.virtualave.net

"The noozle! The noozle on the hoose!"
-Groundskeeper Willie

---
Subscribe to the digest:
<mailto:<email address removed>>
Unsubscribe:
<mailto:<email address removed>>

---
Subscribe to the digest:
<mailto:<email address removed>>
Unsubscribe:
<mailto:<email address removed>>