daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest Oct 11th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $diaSelecionado = $_POST["DiaSelecionado"]; // 11/10/2018
  2. list($dia,$mes,$ano) = explode("/",$diaSelecionado);
  3. $diaSemanaNumeral = date('w',mktime(0,0,0,$mes,$dia,$ano));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top