realbasic-nug
[Top] [All Lists]

parseDate replacement

To: realbasic-nug at lists dot realsoftware dot com
Subject: parseDate replacement
From: "Steve Garman" <realbasic at garman dot demon dot co dot uk>
Date: Mon, 30 Apr 2007 18:37:04 +0100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
I have a function I intend to use when parseDate returns false or produces
a date too far in the past.

The idea is that this should work in as many Gregorian calendar
circumstances as possible.

So far it is working on all the machines where I have tested it but I am
sure that I have missed all sorts of possible circumstances.

It would be a great help to me if anyone willing would try the function on
as many platforms/locales as possible and let me know any problems,
suggested improvements, etc.

I have posted the code at
<http://rb.sgarman.net/validDate.php>

Thanks for any help.

-- 
Steve Garman
Using REALbasic Professional on Windows XP Pro


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


From  Mon 30 Apr 2007 11:37:51 -0600
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
        id 2FDDA22EA433; Mon, 30 Apr 2007 10:38:04 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on 
        www.realsoftware.com
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=4.5 tests=ALL_TRUSTED,AWL,BAYES_00,
        NO_REAL_NAME autolearn=ham version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
        by xmail.realsoftware.com (Postfix) with ESMTP id 060EE22EA429;
        Mon, 30 Apr 2007 10:38:03 -0700 (PDT)
Received: from real-software-mini.local (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP id 4DA35274D5D;
        Mon, 30 Apr 2007 12:37:55 -0500 (CDT)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from mail.verex.com (mail.verex.com [66.116.103.197])
        by lists.realsoftware.com (Postfix) with ESMTP id CDD80274D50
        for <realbasic-nug at lists dot realsoftware dot com>;
        Mon, 30 Apr 2007 12:37:50 -0500 (CDT)
Received: from [66.116.103.197] (localhost [127.0.0.1])
        by mail.verex.com (Postfix) with SMTP id E4851742AE8
        for <realbasic-nug at lists dot realsoftware dot com>;
        Mon, 30 Apr 2007 11:37:51 -0600 (MDT)
Date: Mon, 30 Apr 2007 11:37:51 -0600
Subject: Re: OT: Mac alerts silenced
From: joe at strout dot net
To: realbasic-nug at lists dot realsoftware dot com
In-Reply-To: <fed2e2560704301013q56d32458xcec89cc7a1830ad5 at mail dot gmail 
dot com>
X-Mailer: VerEx Email Gateway
Message-Id: <20070430173751 dot E4851742AE8 at mail dot verex dot com>
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

On Apr 30, 2007, at 17:13 UTC, Dennis Birch wrote:

> This post is somewhat on-topic in that in came up while trying to
> figure out why none of my "beep" code was working in RB. It turns out
> that none of my alert sounds are playing on my Intel iMac running
> 10.4.9. ... Anybody have any suggestions for me?

This happens to me all the time.  In most cases, you can fix it this
way: go to Applications > Utilities > Audio MIDI Setup, and change the
Audio Output format to 44100.0 Hz.

However, my machine also often gets in a state where iChat sounds don't
play, and the above doesn't fix that.  So far, only a reboot seems to
fix iChat for some reason.

HTH,
- Joe

--
Joe Strout -- joe at strout dot net


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>