/    Sign up×
Community /Pin to ProfileBookmark

By any chance is there a way i can convert

08/08/2006 to

August/Tues/2006

and is there a way to get a holyday list?

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@NightShift58Dec 28.2006 — I'm not sure such a conversion makes sense but then again, I don't know what you're trying to achieve in your script.

For all matters related to date conversion, see http://www.php.net/manual/en/function.date.php
Copy linkTweet thisAlerts:
@moiseszaragozaauthorDec 28.2006 — What i am trying to do is get a date in numerical and convert it to the words

and check if it's on a holyday
Copy linkTweet thisAlerts:
@NightShift58Dec 28.2006 — The [B]date()[/B] function, with assistance from [B]mktime()[/B] function - will help you convert a "numerical" date to a "textual" format.

As far as holidays are concerned, you will probably have to build your own list and check date against that list.
×

Success!

Help @moiseszaragoza spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.27,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...