CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2009
    Posts
    92

    date month in english

    Dear all,

    In the crystal report, I have the datetime field. I will make the formula field to show June-2011 in english without setting the windows locale. How can I do?? As now it is showing in chinese.

  2. #2
    Join Date
    Jul 2005
    Posts
    1,083

    Re: date month in english

    You can load an array with the names of the months and use then Month function as an index to extract it...

    JG

  3. #3
    Join Date
    May 2003
    Location
    Islamabad, Pakistan
    Posts
    284

    Re: date month in english

    Did you try this ?

    datetimevar date_time := PrintDate;
    totext(date_time, "MMMM - yyyy");
    If this post is helpful, then, Rate this Post.

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

Featured