Professional Web Applications Themes

Is there a way to check for valid date? - PHP Development

I've developed a php online quote page that works fine with IE. It uses a java script routine dlcalendar.js for the date inputs. People with AOL and using MACs can't get this to work. With this routine, it displays a Calendar that lets you select the day for that month and you can use '<' or '>' to change the month and year for a new monthly calendar. Is there a php routine that would accept the day, month, year and check their validity such as when Feb has 29 days? Thanks..........

  1. #1

    Default Is there a way to check for valid date?

    I've developed a php online quote page that works fine
    with IE. It uses a java script routine dlcalendar.js for the
    date inputs. People with AOL and using MACs can't get
    this to work. With this routine, it displays a Calendar that
    lets you select the day for that month and you can use
    '<' or '>' to change the month and year for a new monthly
    calendar. Is there a php routine that would accept the day,
    month, year and check their validity such as when Feb
    has 29 days?

    Thanks.......




    bob Guest

  2. #2

    Default Re: Is there a way to check for valid date?

    bob engler wrote: 

    http://www.php.net/mktime


    -veikko

    --
    veikko
    mail .com
    makinen
    Veikko Guest

  3. #3

    Default Re: Is there a way to check for valid date?

    I noticed that Message-ID: <d8cs87$dg$utu.fi> from Veikko
    Mäkinen contained the following:
     
    >
    >http://www.php.net/mktime[/ref]

    and

    http://uk2.php.net/manual/en/function.checkdate.php


    --
    Geoff Berrow 0110001001101100010000000110
    001101101011011001000110111101100111001011
    100110001101101111001011100111010101101011
    Geoff Guest

  4. #4

    Default Re: Is there a way to check for valid date?

    Thanks to you both. That should allow me to change the way I get the dates
    and still have correct data.

    Bob


    "bob engler" <com> wrote in message
    news:G_lqe.999$lga... 


    bob Guest

Similar Threads

  1. Replies: 3
    Last Post: July 18th, 01:31 PM
  2. to check to date must be greater or equal from date
    By capik79 in forum Macromedia ColdFusion
    Replies: 2
    Last Post: June 1st, 04:06 AM
  3. How do I check installation date of Sun OS?
    By Nitin in forum Linux / Unix Administration
    Replies: 4
    Last Post: December 30th, 01:15 PM
  4. check the time and date
    By Boon Chong Ang in forum PERL Beginners
    Replies: 0
    Last Post: August 27th, 02:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139