NameSilo

Order by date Problem

Spacemail by SpaceshipSpacemail by Spaceship
Watch

vegancoder

New Member
Impact
0
I have created a gig booking system and i need to know how i should store the dates so that i can order them correctly when i am outputting them.

When the user submits the form the date comes in 3 variable:
dateDay
dateMonth
dateYear

I then join all these and use "/" to seperate them but when i come to output them they dont come out in the correct order, can anyone give me any tips opn how to do this please?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
To get dates in correct order, they should be in the form YYYY/MM/DD.

Have you tried this order?
 
0
•••
no i haven't thank you very much, ill try it next time i get round to doing it lol
 
0
•••
Please write again when you have tried
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back