REBOL [
Title: "Month"
Date: 3-Jul-2002
Name: Month
Version: 1.0.0
File: %Month.r
Author: "Andrew Martin"
Purpose: "Creates Month routines."
Email: Al.Bri@xtra.co.nz
Web: http://valley.150m.com
Category: [util 5]
Example: [
November? 16-Nov-2000
]
]
use [Months Index] [
Months: system/locale/months
forall Months [
Index: index? Months system/locale/months
do reduce [
to set-word! join first Months "?" 'func [
"Is Date this month?" Date [date!]
]
reduce ['= Index 'Date/Month]
]
]
]
Month: func [Date [date!]][
pick system/locale/months Date/month
]