Very difficult or impossible

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi, this morning I have seen that the script at pagina: wasn't working

With this code I estract the day of the week in numeric format

$data=$record['Data_Visita'];  // year-month-day date format
$utime = mktime (0,0,0, $mese,$giorno,$anno,-1);
if ($weekday==0)
$weekday=7; // days from 1 to 7 (in Italian) echo $weekday;

This code has worked correctly before sept 30, after this day, I should
have had weekday=6, then 7, then 1 again, but after 5 I get 3, and so on

What is the problem?


      Teaching OnLine  
Corsi online di programmazione
Php, Asp, C, C++, Visual Basic, Delphi
Linux Shell Programming

Re: Very difficult or impossible

Lampa Dario wrote:
Quoted text here. Click to load it

You posted this problem just two hours ago.  We're all volunteers here -  
you need to give a reasonable amount of time for an answer.  24 hours is  
a good choice.

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Site Timeline