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;


59 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. Anonymous 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/

  17. Digital Marketing service, the promotion of products or brands via one or more forms of electronic media, differs from traditional marketing in that it uses channels

  18. crackstools says:

    Your website content is very effective and help full for people.I understood that you try to clear that concept about this subject.But i also read another content from another website. I think it's most better full content to your website content.So i suggest you, if you have a time to on your hand you will try to visit this website.http://crackstools.com

  19. Cracktaking says:

    We gather a lot of keylogger software in our website which you can download without any charge. Are you interested to download and use this software. You are welcome in our website : https://cracktaking.com

  20. Hey νeгy nicе blog!! Man .. Beautiful .Balance Shoes and to help them get their good quality Balance ShoesOne of the purposes of this website is to help people about find Topwe want develop more stratеgies on this regard, thanks for
    shаrіng. . . . . .

  21. Agnes says:

    h3ncash adalah agen Sbobet Mobile menjadi situs taruhan bola online ter besar yang memiliki banyak pemain di dalam nya dan telah menikmati fasilitas yang ada. Selain itu sbobet mobile juga menyedia kan permainan lain Casino, Slot, atau poker.

  22. Jenniper says:

    pokerblibli adalah salah satu poker online yang paling diminati saat ini, selain banyak bonus yang bisa di dapat. ayo tunggu apalagi, bergabunglah dengan poker online blibli

  23. Jennifer says:

    Agen Sbobet h3ncash Situs judi yang mempunyai banyak pemain dan situs judi online terbesar diindonesia. dengan pelayanan dan keramahan agen yang berkualitas.

  24. Juliesar says:

    h3ncash adalah situs yang akan memberikan anda sebuah permainan Judi Sbobet yang terbaik dan terpercaya tentunya. Sesuai dengan visi misi yang selalu mengembangkan internal kami. Untuk meningkatkan inovasi dalam memberikan yang terbaik di antara yang terbaik bagi para petaruh judi di Indonesia.

  25. Agen SBOBET Online ligaindo55 langsung menawarkan kesenangan dan akses dari mana saja di planet ini melalui online.

    Agen sbobet online ligaindo55 langsung menyampaikan pengertian klub judi kepada Anda.

    Ligaindo55 Merupakan Agen sbobet , judi online agen sbobet Online , casino Online ,agen Judi casino ,Agen sbobet Terpercaya,judi casino Yang Menyediakan Permainan Judi Sbobet Yang Sangat Diminati Masyarakat Indonesia yang menyediakan pembuatan ID taruhan bola, casino online secara gratis.

    Ligaindo55 merupakan salah situs web judi online terpercaya di Indonesia. Hanya dengan 1ID sudah dapat memainkan beragam permainan Judi Online dari SBOBET.

  26. Menghasilkan uang dalam jumlah banyak dan dengan cara yang mengasyikan yaitu dalam sebuah permainan adalah hal yang sangat menyenangkan. dalam dunia online tentu saja semua bisa dilakukan.

    Termasuk dalam menghasilkan uang dalam permainan togel yang terpercaya. situs togel online yang di percaya hanya bisa di temukan di totosemesta.net karena disana banyak menyediakan pasaran seperti TOGEL SINGAPORE , togel HK , togel Sydney , togel Macau , togel Shanghai , togel Hubei & togel Hubei.

    Jadi tunggu apalagi segeralah bergabung dengan agen togel online terpercaya yaitu totosemesta.net

  27. galeripoker says:

    Permainan poker poker online adalah suatu permainan yang berbasis online untuk sekarang ini sudah sangat menjadi populer bagi para pemain yang ingin bermain judi poker dengan berbasis online. Galeri Poker adalah situs yang menyediakan permainan yang permainan poker yang berbasis online dengan pelayanan yang memuaskan kepada para pemainnya. Galeri Poker adalah situs yang menyediakan permainan poker yang sudah tidak perlu di ragukan lagi oleh para pemain. Disini para pemain juga akan dilayani oleh cs yang sangat berpengalaman dan ramah sehingga para pemain senang untuk bergabung bersama kami.

  28. galeripoker says:

    Agen agen sbobet Online mbscash adalah suatu agen online yang menawarkan permainan yang bisa di akses dengan melalui jaringan online. Agen sbobet mbscash memberikan pelayanan yang dijamin akan merasa puas para pemainnya. mbscash merupakan Agen sbobet , judi online agen sbobet Online , casino Online ,agen Judi casino ,Agen sbobet Terpercaya,judi casino Yang Sudah memberikan Pelayanan Judi online dari permainan yang disediakan oleh Sbobet sendiri bagi pemainnya dengan pelayanan bagi yang ingin bermain casino online secara gratis. mbscash sendiri adalah sebuah situs judi yang berbasis online terpercaya di Indonesia. Karena hanya dengan 1 ID saja para member sudah dapat memainkan permainan Judi Online yang disediakan oleh SBOBET.

  29. Unknown says:


    Pekanpoker merupakan Agen Poker Online yang menyediakan berbagai permainan seperti Poker, Ceme, Ceme Keliling, CAPSA, Super10, Omaha Dan domino Qiu Qiu. Selain permainan yang lengkap, Pekanpoker juga menyediakan Customer Servis yang ramah. Raih kemenangan besar bersama Pekanqq.com

  30. Unknown says:

    PekanQQ merupakan Situs Poker Online yang menyediakan berbagai permainan seperti Poker, Ceme, Ceme Keliling, CAPSA, Super10, Omaha Dan domino qiu qiu. Mudah Menang, Mudah Jadi Jutawan.

  31. agen sbobet says:

    Thanks...
    Agen Sbobet

  32. agen sbobet says:

    Thank you.....
    Sbobet

  33. agen sbobet says:

    Good Information..
    Sbobet Mobile

  34. Hbo365 says:

    Judi Online Hbo365

  35. Hbo365 says:

    Hbo365 Poker Online

  36. Hbo365 says:

    Casino Online Hbo365


  37. Photo Background Editor plays a key role in removing the background of the photo. The editor needs to remain highly careful while removing the background. The service is an essential one for the online business community.




  38. Photo Retouching is one of the most impressive services in photo editing. It helps to bring a positive vibe and look on the photos. Most of the end-level users are in great needs of Photo Retouching Services. But you need to be careful while selecting the best one.

  39. Photo Retouching is one of the most impressive services in photo editing. It helps to bring a positive vibe and look on the photos. Most of the end-level users are in great needs of Photo Retouching Services. But you need to be careful while selecting the best one.
    Chat conversation end
    Type a message...

  40. Clipping path is a must for any kinds of product images. Clipping Path Service can provide you with your desired product with a high-end view which will help you to attract both the organic customers and paid to add customers. Do clipping path for your business growth and show your customers what you have!

  41. Great Article

    Looking for the Best Walkin Interview For Freshers , Find latest Govt Job Notifications with various information such as govt vacancies, eligibility, Bank Jobs, Latest Bank Job Updates @ pdtvjobs.com

  42. Useful Information :

    Looking for the Best Digital Marketing Company in Vijayawada and Hyderabad affiliate agency in south INDIA, Digital Marketing in Vijayawada @ praiseads.com

  43. Great Article

    Looking for the Best Walkin Interviews For Freshers , Find latest Govt Job Notifications with various information such as govt vacancies, eligibility, Bank Jobs, Latest Bank Job Updates @ pdtvjobs.com

  44. Great Article

    Looking for the Best Walkin Interviews For Freshers , Find latest Govt Job Notifications with various information such as govt vacancies, eligibility, Bank Jobs, Latest Bank Job Updates @ pdtvjobs.com

  45. Useful Information :

    Freshers Walkins provide information on all the job walkins happen in all over India. Popular IT Company jobs, Freshers walkins, java walkins, .net walkins @ http://fresherswalkins.co.in/

Post a Comment

Thank you for your comment.

Any request and idea are welcome.

CLICK TO REGISTER