Hi
In my table , I have date of birth value like 1991/10/21,
I want to display that date of birth like:
21/10/1991(Twentynineth October One thousand Nine Hundred Ninety Nine)
date of birth in numbers and in Characters also.
How to do that, it has to do dynamically?
AntonyRayan 15 Posting Whiz in Training
Recommended Answers
Jump to PostHave a look here:
http://php.net/manual/en/function.date.php
date('d/m/Y', $yourBirthDate); date('F', $yourBirthDate);
http://php.net/manual/en/class.numberformatter.php
NumberFormatter::SPELLOUT
Jump to Post21/10/1991(Twentynineth October One thousand Nine Hundred Ninety Nine)
You sure about that? 21 = twenty-ninth??
All 6 Replies
pritaeas 2,211 ¯\_(ツ)_/¯ Moderator Featured Poster
jstfsklh211 79 Light Poster

diafol
AntonyRayan 15 Posting Whiz in Training

diafol

diafol
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.