Is there a framework function or control that computes Easter dates?

Respondida Is there a framework function or control that computes Easter dates?

  • 14. dubna 2012 19:30
     
     

    Easter day is determined based on astronomical events. Is there a "date" function or something similar that can be used in Visual Basic programming to project such a day?

    Price Buhrman

Všechny reakce

  • 14. dubna 2012 19:46
     
     Odpovědět

    No.  You would need to write code that calculates it.  Here is a sample in C#. 

    http://www.codeproject.com/Articles/11666/Dynamic-Holiday-Date-Calculator

    I typed "compute Easter date" in that search box, just above.  That link just happened to be the first hit.

    Rudy   =8^D


    Mark the best replies as answers. "Fooling computers since 1971."

    http://thesharpercoder.blogspot.com/

    • Označen jako odpověď BuhrmanP 21. dubna 2012 18:23
    •  
  • 14. dubna 2012 20:48
     
     

    Julian Calendar or Gregorian Calendar, in other other words, west European Christianity or East European Christianity. Be aware that outside that relatively small part of the world Easter does not mean very much.

    http://en.wikipedia.org/wiki/Easter

     

    Success
    Cor

  • 14. dubna 2012 23:22
     
     

    Another possible site is here. It tells you about it and has sample code (which I assume is correct.)

    How did I find it? Googled for 'calculate Easter date' of course. LOL


    Regards David R
    ---------------------------------------------------------------
    The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones.
    Object-oriented programming offers a sustainable way to write spaghetti code. - Paul Graham.
    Every program eventually becomes rococo, and then rubble. - Alan Perlis
    The only valid measurement of code quality: WTFs/minute.

  • 15. dubna 2012 5:34
     
     

    There is old BASIC code here : http://www.assa.org.au/edm.html#Computer

    Look near the bottom of the page