Page 1 of 2 12 LastLast
Results 1 to 12 of 16

Thread: Date of Birth in Word

  1. #1
    M Imran Mugal's Avatar
    M Imran Mugal is offline Senior Member+
    Last Online
    17th March 2015 @ 04:54 PM
    Join Date
    17 Dec 2010
    Location
    Mehrabpur Sindh
    Age
    38
    Gender
    Male
    Posts
    976
    Threads
    14
    Credits
    960
    Thanked
    49

    Default Date of Birth in Word


    Experts help krain meri data base me date of birth k bry me........
    Attached Images Attached Images  
    Last edited by M Imran Mugal; 10th May 2013 at 08:42 AM.

  2. #2
    M Imran Mugal's Avatar
    M Imran Mugal is offline Senior Member+
    Last Online
    17th March 2015 @ 04:54 PM
    Join Date
    17 Dec 2010
    Location
    Mehrabpur Sindh
    Age
    38
    Gender
    Male
    Posts
    976
    Threads
    14
    Credits
    960
    Thanked
    49

    Default

    help dosto help

  3. #3
    Irfan Ch48's Avatar
    Irfan Ch48 is offline Advance Member
    Last Online
    2nd March 2024 @ 10:56 PM
    Join Date
    26 Nov 2012
    Location
    Ahmadpur East
    Gender
    Male
    Posts
    1,137
    Threads
    38
    Credits
    1,896
    Thanked
    53

    Default

    عرفان خالد کی طرف سے

  4. #4
    Sahil_Jaan's Avatar
    Sahil_Jaan is offline V.I.P
    Last Online
    13th April 2024 @ 08:40 PM
    Join Date
    05 Jan 2008
    Gender
    Male
    Posts
    14,710
    Threads
    673
    Credits
    11,234
    Thanked
    1925

  5. #5
    M Imran Mugal's Avatar
    M Imran Mugal is offline Senior Member+
    Last Online
    17th March 2015 @ 04:54 PM
    Join Date
    17 Dec 2010
    Location
    Mehrabpur Sindh
    Age
    38
    Gender
    Male
    Posts
    976
    Threads
    14
    Credits
    960
    Thanked
    49

    Default

    Dear sahil jan Assalam o alaikum
    Bhai boht boht mehrbani ap ne mry ley koshish ki mgr bhai mera sawal kuch aur hai.....

  6. #6
    sayhellotoit's Avatar
    sayhellotoit is offline Senior Member
    Last Online
    23rd September 2017 @ 07:51 PM
    Join Date
    01 May 2009
    Posts
    1,003
    Threads
    5
    Credits
    53
    Thanked
    127

    Default

    Wa-alaikum-assalam,
    Aisa chah rahain hain aap:
    Attached Images Attached Images  
    Attached Files Attached Files

  7. #7
    M Imran Mugal's Avatar
    M Imran Mugal is offline Senior Member+
    Last Online
    17th March 2015 @ 04:54 PM
    Join Date
    17 Dec 2010
    Location
    Mehrabpur Sindh
    Age
    38
    Gender
    Male
    Posts
    976
    Threads
    14
    Credits
    960
    Thanked
    49

    Default

    Quote sayhellotoit said: View Post
    Wa-alaikum-assalam,
    Aisa chah rahain hain aap:
    Oh.....
    g bhai aisa he chah raha tha me thanks thank u very very much............................. Khuda ap k elam me aur Izafa aatta frmayyy ameeennn......

  8. #8
    M Imran Mugal's Avatar
    M Imran Mugal is offline Senior Member+
    Last Online
    17th March 2015 @ 04:54 PM
    Join Date
    17 Dec 2010
    Location
    Mehrabpur Sindh
    Age
    38
    Gender
    Male
    Posts
    976
    Threads
    14
    Credits
    960
    Thanked
    49

    Default

    Quote sayhellotoit said: View Post
    Wa-alaikum-assalam,
    Aisa chah rahain hain aap:
    bhai is me aik maslah hai abi wo ye k jo ap ne date likhi hai upper wo aisy hai
    09-05-2013 Nine May Two Thousand Thirteen
    10-05-2013 Ten May Two Thousand Thirteen

    Mery khayal se ye aisy honi chahey
    09-05-2013 Ninth May Two Thousand Thirteen
    14-05-2013 Fourteenth May Two Thousand Thirteen
    25-05-2013 twenty fifth May Two Thousand Thirteen
    ager year 19 ho exp: 19980,1985 rtc
    25/05/1985 Twenty Fifth May Nineteen Hundred Eighty Five

    Pleas ye masla b hal krain Bari nawazish hogi Shukriya........

  9. #9
    M Imran Mugal's Avatar
    M Imran Mugal is offline Senior Member+
    Last Online
    17th March 2015 @ 04:54 PM
    Join Date
    17 Dec 2010
    Location
    Mehrabpur Sindh
    Age
    38
    Gender
    Male
    Posts
    976
    Threads
    14
    Credits
    960
    Thanked
    49

    Default

    Dear sahil bhai me ne IT Dunya k ruls me padha tha k ksi aur website ya forum ki link ni deni... ap ne mery sawal k ley link di
    me puchna ye chahta hn k kiya aisy sawal k jawab k ley link di jaskti hai????????????????

  10. #10
    syar is offline Advance Member
    Last Online
    24th May 2024 @ 12:40 PM
    Join Date
    31 Jul 2009
    Location
    Nowshera(KP)
    Age
    47
    Gender
    Male
    Posts
    887
    Threads
    10
    Credits
    573
    Thanked
    340

    Default

    Quote sayhellotoit said: View Post
    Wa-alaikum-assalam,
    Aisa chah rahain hain aap:

    Really Nice approach. Give it a try may be you will find it useful in future.

    Code:
    Function DateToWords(ByVal DateIn As Variant) As String
    Dim Yrs As String
    Dim Hundreds As String
    Dim Decades As String
    Dim Tens As Variant
    Dim Ordinal As Variant
    Dim Cardinal As Variant
    Ordinal = Array("First", "Second", "Third", _
    "Fourth", "Fifth", "Sixth", _
    "Seventh", "Eighth", "Nineth", _
    "Tenth", "Eleventh", "Twelfth", _
    "Thirteenth", "Fourteenth", _
    "Fifteenth", "Sixteenth", _
    "Seventeenth", "Eighteenth", _
    "Nineteenth", "Twentieth", _
    "Twenty-first", "Twenty-second", _
    "Twenty-third", "Twenty-fourth", _
    "Twenty-fifth", "Twenty-sixth", _
    "Twenty-seventh", "Twenty-eighth", _
    "Twenty-nineth", "Thirtieth", _
    "Thirty-first")
    Cardinal = Array("", "One", "Two", "Three", "Four", _
    "Five", "Six", "Seven", "Eight", "Nine", _
    "Ten", "Eleven", "Twelve", "Thirteen", _
    "Fourteen", "Fifteen", "Sixteen", _
    "Seventeen", "Eighteen", "Nineteen")
    Tens = Array("Twenty", "Thirty", "Forty", "Fifty", _
    "Sixty", "Seventy", "Eighty", "Ninety")
    DateIn = CDate(DateIn)
    Yrs = CStr(Year(DateIn))
    Decades = Mid$(Yrs, 3)
    If CInt(Decades) < 20 Then
    Decades = Cardinal(CInt(Decades))
    Else
    Decades = Tens(CInt(Left$(Decades, 1)) - 2) & "-" & _
    Cardinal(CInt(Right$(Decades, 1)))
    End If
    Hundreds = Mid$(Yrs, 2, 1)
    If CInt(Hundreds) Then
    Hundreds = Cardinal(CInt(Hundreds)) & " Hundred "
    Else
    Hundreds = ""
    End If
    DateToWords = Ordinal(Day(DateIn) - 1) & _
    Format$(DateIn, " of mmmm ") & _
    Cardinal(CInt(Left$(Yrs, 1))) & _
    " Thousand " & Hundreds & Decades
    End Function
    SUPPOSE A1 m date ha tu B1 m forumla asa ho ga

    =DateToWords(A1)

    regards,

  11. #11
    sayhellotoit's Avatar
    sayhellotoit is offline Senior Member
    Last Online
    23rd September 2017 @ 07:51 PM
    Join Date
    01 May 2009
    Posts
    1,003
    Threads
    5
    Credits
    53
    Thanked
    127

    Default

    Well, your approach is better, to-the-point and simple. Thank you for sharing.

  12. #12
    M Imran Mugal's Avatar
    M Imran Mugal is offline Senior Member+
    Last Online
    17th March 2015 @ 04:54 PM
    Join Date
    17 Dec 2010
    Location
    Mehrabpur Sindh
    Age
    38
    Gender
    Male
    Posts
    976
    Threads
    14
    Credits
    960
    Thanked
    49

    Default

    Quote syar said: View Post

    Really Nice approach. Give it a try may be you will find it useful in future.

    Code:
    Function DateToWords(ByVal DateIn As Variant) As String
    Dim Yrs As String
    Dim Hundreds As String
    Dim Decades As String
    Dim Tens As Variant
    Dim Ordinal As Variant
    Dim Cardinal As Variant
    Ordinal = Array("First", "Second", "Third", _
    "Fourth", "Fifth", "Sixth", _
    "Seventh", "Eighth", "Nineth", _
    "Tenth", "Eleventh", "Twelfth", _
    "Thirteenth", "Fourteenth", _
    "Fifteenth", "Sixteenth", _
    "Seventeenth", "Eighteenth", _
    "Nineteenth", "Twentieth", _
    "Twenty-first", "Twenty-second", _
    "Twenty-third", "Twenty-fourth", _
    "Twenty-fifth", "Twenty-sixth", _
    "Twenty-seventh", "Twenty-eighth", _
    "Twenty-nineth", "Thirtieth", _
    "Thirty-first")
    Cardinal = Array("", "One", "Two", "Three", "Four", _
    "Five", "Six", "Seven", "Eight", "Nine", _
    "Ten", "Eleven", "Twelve", "Thirteen", _
    "Fourteen", "Fifteen", "Sixteen", _
    "Seventeen", "Eighteen", "Nineteen")
    Tens = Array("Twenty", "Thirty", "Forty", "Fifty", _
    "Sixty", "Seventy", "Eighty", "Ninety")
    DateIn = CDate(DateIn)
    Yrs = CStr(Year(DateIn))
    Decades = Mid$(Yrs, 3)
    If CInt(Decades) < 20 Then
    Decades = Cardinal(CInt(Decades))
    Else
    Decades = Tens(CInt(Left$(Decades, 1)) - 2) & "-" & _
    Cardinal(CInt(Right$(Decades, 1)))
    End If
    Hundreds = Mid$(Yrs, 2, 1)
    If CInt(Hundreds) Then
    Hundreds = Cardinal(CInt(Hundreds)) & " Hundred "
    Else
    Hundreds = ""
    End If
    DateToWords = Ordinal(Day(DateIn) - 1) & _
    Format$(DateIn, " of mmmm ") & _
    Cardinal(CInt(Left$(Yrs, 1))) & _
    " Thousand " & Hundreds & Decades
    End Function
    SUPPOSE A1 m date ha tu B1 m forumla asa ho ga

    =DateToWords(A1)

    regards,
    kiya ye mukamal formula b1 me type kiya jay gha ????
    ya macro hai yeeeeee??????

Page 1 of 2 12 LastLast

Similar Threads

  1. yahoo ID main given date of birth..????
    By hamayun_4u2004 in forum Ask an Expert
    Replies: 1
    Last Post: 3rd August 2009, 11:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •