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 Postdont forget
http://php.net/manual/en/function.strtotime.php
for retrieving dates from strings
All 6 Replies
pritaeas
2,194
¯\_(ツ)_/¯
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.