Results 1 to 5 of 5

Thread: Java script (last_day)

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2004
    Posts
    83

    Java script (last_day)

    hi:

    im building a web based vb.net application. i want to write a javascript in teh html side. basically the user enters a date. it has to be end of the month. for example 31-jan-2005 and not 5-jan-2005. iof teh user enters 5-jan-2005, he should get an alert saying to enter teh date of end of the month.

    in sql its like last_day(date). but how do i do it in javascript?

    thanks

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Java script (last_day)

    Moved from CodeBank.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2004
    Posts
    83

    Re: Java script (last_day)

    i checked but couldnt find anything of relevance to my question.

  4. #4
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196

    Re: Java script (last_day)

    Only allow the user to enter the month and year.

  5. #5
    No place like 127.0.0.1 eyeRmonkey's Avatar
    Join Date
    Jul 2005
    Location
    Blissful Oblivion
    Posts
    2,306

    Re: Java script (last_day)

    Sheikha,

    Did DeadEye's suggestion help you?

    Is so thats great.

    If not then can you explain how your interface is designed and why DeadEye's suggestion did not help? Thanks.
    Visual Studio 2005 Professional Edition (.NET Framework 2.0)
    ~ VB .NET Links: Visual Basic 6 to .NET Function Equivalents (Thread) | Refactor! (White Paper) | Easy Control for Wizard Forms | Making A Proper UI For WinForms | Graphics & GDI+ Tutorial | Websites For Free Icons
    ~ QUOTE: Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -Rich Cook

    ~ eyeRmonkey.com

Posting Permissions

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



Click Here to Expand Forum to Full Width