Public Shared Function ToDateEOM(ByVal dt As Object) As DateTime
        '//-- หาวันที่สิ้นเดือน EndOfMonth โดยใช้รูปแบบตาม culture ดังนี้
        '//-- ถ้า CultureName en-US ต้องเป็น MM/dd/yyyy (ปีใช้คศ)
        '//-- ถ้า CultureName en-GB ต้องเป็น dd/MM/yyyy (ปีใช้คศ)
        '//-- ถ้า CultureName th-TH ต้องเป็น dd/MM/yyyy (ปีใช้พศ)
        Dim tmpDate As DateTime
        Try
            tmpDate = System.DateTime.Parse(dt.ToString())
            Return DateSerial(Year(tmpDate), Month(tmpDate) + 1, 1).AddDays(-1)
        Catch
            Return DateTime.MinValue
        End Try
    End Function

Comment

Comment:

Tweet

Some people give the duty to expert resume writers because they don't have the skill to compose a good resume in that the cause why customers need to resume services, but such customers like composer don't do that. Thanks for the article. Very good article about this topic.

#18 By up here (46.161.41.16|46.161.41.16) on 2014-04-01 11:54

Are you sick and tired of writing essays, research and term papers? Skim online essay review and sift out an organization you have a desire to make a deal with.

#17 By Writing-Services.org testimonials (46.161.41.16|46.161.41.16) on 2014-03-27 09:17

Hunting for first-class CRM Development centre? Click up here (soft-group.com) and our professional developers team aid you to achieve your goals.

#16 By Internet site (31.184.238.73) on 2013-08-01 13:37

Some people create their websites getting nothing about SEO. Therefore, their internet sites have got low ranking. These guys just do not realize that blog posting services can be able to fix this kind of issue!

#15 By blog posting service (193.105.210.41) on 2011-11-03 07:49

We generally offer the best forum posting service. We developed the best submission methods. With our SEO service your site can be more workable!

#14 By forum posting service (193.105.210.41) on 2011-10-31 06:36

The thesis writing services are presently searching for your hot story referring to this good post for the thesis mba creating.

#13 By buy dissertation (193.105.210.41) on 2011-10-29 09:43

Your fantastic facts referring to this good post should be free for all people, just because they want buy thesis service and good dissertation service or just thesis mba.

#12 By dissertations (193.105.210.41) on 2011-10-29 09:43

It's not so simply to do a perfect written essays, first of all if you are engaged. I recommend you to notice buy custom essay papers and to be devoid from query that your work will be done by essay writers

#11 By buy an essay (193.105.210.41) on 2011-10-28 07:33

There will be no better solution than to get information how to write a unique essay when students are in a difficult situation just because of essays writing. Thence, it's smarter to do it and relieve academic writing pain.

#10 By academic essays buy (193.105.210.41) on 2011-10-28 07:32

You have to check out the writing help service just before you order custom papers. It can be very important to select the superb custom academic assignments writing firm.

#9 By research essay writing (193.105.210.41) on 2011-10-21 09:46

A smashing article just about this good post ! Everyone can see writing service to buy an essay, as well students have custom essay.

#8 By writing services (193.105.210.41) on 2011-10-21 00:04

The essay service could be created particularly for college students, just because they really need the analysis essays composed properly.

#7 By essays online (193.105.210.41) on 2011-10-13 00:06

I propose not to wait until you get enough cash to buy different goods! You should get the <a href="http://goodfinance-blog.com">loan</a> or college loan and feel yourself free

#6 By WINIFREDFULLER (91.212.226.143) on 2011-10-10 06:53

angry smile angry smile angry smile

#5 By (222.123.14.154) on 2010-06-28 15:06

sad smile angry smile question question surprised smile cry cry tongue angry smile sad smile open-mounthed smile big smile confused smile

#4 By (222.123.14.154) on 2010-06-28 15:06

#3 By เรียนภาษาอังกฤษ (110.49.205.71) on 2010-05-11 11:59

comment3,

#2 By eANiNXSvx (194.8.75.155) on 2010-01-02 07:21

เป็นความรู้ที่ดีจริงครับHot! Hot!

#1 By NTWKNK on 2009-07-18 19:57