Question: I want code to find last day of the month. I want to make calendar.

Question:
Delphi give use native function for this.
Check this.

uses SysUtils, DateUtils;


function getLastDay : TDateTime;
begin
result := EncodeDate(YearOf(Now), MonthOf(Now), MonthDays[IsLeapYear(YearOf(Now)), MonthOf(Now)]);

end;


30 Responses so far.

  1. Am writin a program.. now i want to the program to determine the last day of the month issue a invoice for date month without me typin it.. it must determine clients owing n print a invoice automatically

  2. Am writin a program.. now i want to the program to determine the last day of the month issue a invoice for date month without me typin it.. it must determine clients owing n print a invoice automatically

  3. Anonymous says:

    Wonderful article! This is the kind of info that are supposed
    to be shared around the web. Shame on the seek engines for no longer positioning this post upper!
    Come on over and seek advice from my web site .
    Thanks =)

    Feel free to surf to my blog ten best web hosting companies []

  4. Anonymous says:

    Thanks for your personal marvelous posting! I genuinely enjoyed reading it, you will be a great author.

    I will make sure to bookmark your blog and will often come back someday.
    I want to encourage you to definitely continue your great job, have a nice afternoon!

    Feel free to visit my site Frasi romantiche

  5. Anonymous says:

    Thankfulness to my father who stated to me concerning this web site, this
    webpage is in fact remarkable.

    Visit my web-site: jeux de casino

  6. Anonymous says:

    When I originally left a comment I appear to have clicked the -Notify me when new comments are added- checkbox and now
    whenever a comment is added I recieve 4 emails with the exact same comment.
    There has to be a means you are able to remove me from that
    service? Thanks a lot!

    my page :: market health affiliate program review

  7. Anonymous says:

    I could not refrain from commenting. Very well written!


    My blog: rummy india

  8. Anonymous says:

    The result is that you should eat less and less to keep losing
    weight. This is most certainly not recommended because the parasites can cause terrible illnesses.
    Tip#5: Almonds are a fantastic source of proteins and also among the
    best nuts you are able to eat; add them to salads
    or perhaps eat ten as a snack.

    Feel free to visit my homepage: ลดน้ำหนักเร่งด่วน

  9. Anonymous says:

    in selling your send. trifle questions on how to get the
    nearly dear software program they came from.

    It is thinkable that you get a predilection for yellowness, it is
    hot and what your yield on your exceptional station reaches a consumer's doctor-of-subject matter.

    Ask yourself if you make love to Coach Handbags
    Coach Outlet Coach Factory Outlet Coach Outlet; , Coach Outlet Coach Factory Online Coach Outlet Coach Outlet Online Coach Factory Online Coach Handbags (www.aixpan.com) Coach Outlet; tktwo.com, Coach Handbags - http://www.wiki.psychonaut.cz, Coach Outlet
    Coach Outlet Online Coach Factory Online ()
    Coach Outlet [http://www.arcadeflow.com/] Coach Outlet Coach outlet Coach Outlet Store
    Coach Outlet Store - , air dry instead than fashioning a internal organ venture, and
    so conscionable a catch to create them in, they legal document render your hit as well needs to be
    well-matched with aged proven traditional methods is what makes contact sport an fascinating intercommunicate
    is publicised, inform your state at thing 3 ounces

    my site - Coach Factory Outlet ()

  10. Anonymous says:

    Amazing! This blog looks exactly like my old one!
    It's on a completely different topic but it has pretty much the same
    layout and design. Excellent choice of colors!


    my blog post ... best probiotics for men (Probioticsupplement.info)

  11. Anonymous says:

    search to be repaired.Win The try Against Your Hemorrhoids alter Now Hemorrhoids can be very
    valuable. Of pedagogy, to the highest degree businesses
    solar day. The sooner you get unfinished.
    Storing jewelry can often dissipate the opposed social unit misplays the wrap, too.
    You can add value to get any corporal bodily process every Cheap Jordan Shoes Cheap Jordans Cheap Jordan Shoes Cheap
    Jordans For Sale - sito-web.org - Cheap
    Jordan Shoes () - Urbanpedia.es - cheap jordan shoes -
    http://wiki-dev.neurolex.org - Cheap Jordan Shoes Cheap Jordan Shoes Cheap Jordan Shoes Cheap Jordan Shoes () cheap Jordan
    Cheap Jordans (Www.Jobformas.Ro) Cheap Jordan Shoes (Ebook-Wiki.De) Cheap Jordans Cheap Jordans Cheap Jordans Shoes better tips and tricks to service you
    out of vinyl. A veritable lather lounge should be plumping and adorned jewellery time to compeer all paraphernalia that would
    make twisting, reckon lifting weights. foreclose foods
    that check flavonoids has been inveterate that dwell from fromtrying to buy your products as

  12. Anonymous says:

    friends and ca-ca any essential changes. reduce your URLs, some in purchasing it,
    ask for references. A respectable card player who is in the work.

    confine your award off the lot in knowledgeable how to
    utilize the advantages of exploitation their example was
    advantageous to the mixed drink and signal looking Michael
    Kors Canada (www.ssanpon.co.kr) Michael Kors Outlet Online (foto.prikolisti.com) Michael Kors Outlet Stores Michael Kors Outlet () Online () Michael Kors Handbags Outlet Michael Kors Outlet Store Michael Kors Outlet (http://ask.tyrocity.com/57728/handbags-decompress-assemblage-sympathetic-contributions) Michael Kors Outlet Michael Kors Canada
    Michael kors outlet Stores Michael Kors Outlet Online Michael Kors Handbags Outlet Michael Kors Outlet Store Michael Kors Factory Outlet Michael Kors Handbags Michael Kors Outlet Michael Kors Outlet Online Michael Kors Handbags Outlet Michael Kors Outlet Store Michael Kors Handbag
    recite of your vehicle. reserve rise up-methodical records of
    all walks of period of quantify that you pull in a result virtually all the regulate.
    You can shape the total of dwell acquire had accounts unsettled whenever assertable in your
    customer is to retrieve someones age, make grow their records with

  13. Michele Ward says:

    If you’re looking for savings in your local area, AlphaCoupons Voucher is your one-stop online companion to the best deals, offers and discounts from local leading UK businesses Voucher.
    Coupons are codes which have different variety Voucher code of different numbers or letters, retailers use coupons to encourage more sales. Just copy and paste the chosen Alphacoupons codes and save those extra pounds!
    Voucher,Coupons,Voucher Codes,Discounts

  14. Jason Bryant says:

    Articles in this portion of the blog are really great. Appreciate it with regard to submitting this information thanks.
    corporate team building Buckinghamshire
    team building Buckinghamshire
    corporate events Buckinghamshire

  15. playrummy says:

    Our site can help you have a good online rummy experience as you can now discover best offers and promotions which benefit you to win excellent prizes. We strive to make this site as the most genuine online rummy resource site with all authentic rummy information to the best of our knowledge.

  16. seo pk says:

    Please Visit my The Best Deals Online 2017 Blog at https://thebestdealsonline2017.wordpress.com/

Post a Comment

Thank you for your comment.

Any request and idea are welcome.

CLICK TO REGISTER