Log in

View Full Version : PHP based CALENDAR is needed



auriaks
02-15-2010, 07:04 PM
Hi,

Im looking for php calendar script in lithuanian language... Maybe there is english calendar and I can translate months and days??

Thanks..

fileserverdirect
02-16-2010, 02:48 AM
You could do a quick google search and find a script, but yes you will most likely need to translate.

http://www.php-calendar.com/
http://www.bigwebmaster.com/PHP/Scripts_and_Programs/Calendars/
http://keithdevens.com/software/php_calendar
http://www.evolt.org/quick_calendar_using_ajax_and_php

Next time, google search ;)

auriaks
02-16-2010, 03:31 AM
I just want to see:

2010m. Vasario 17d.

Not calendar itself :D

Also, I have read something about explode() function.
But I still didn't know how to explode date.
My date format is $date = date("Y-m-d"); how I can get years, months and days in numbers??

Nile
02-16-2010, 03:42 AM
<?php
$arr = array (
"1" => "Sausis",
"2" => "Vasaris",
"3" => "Kovas"
);
echo date("Y\m ").$arr[date('n')].date(" j\d");

What do you mean 'in numbers'

auriaks
02-16-2010, 04:04 AM
I tried to explode time earlier... it was in number only. found some difficulties :)

Oh, maybe you know how to show hours, minutes and seconds? But one problem, time should count up naturally. Maybe its javaScript??

Nile
02-16-2010, 04:32 AM
Can you use proper grammar? I didn't get any of that...

auriaks
02-16-2010, 04:56 AM
I tried to explode time earlier... it was in number only. found some difficulties :)

:D:D I am saying that I used explode() function to get hours, minutes and seconds from time variables before :)


Oh, maybe you know how to show hours, minutes and seconds? But one problem, time should count up naturally. Maybe its javaScript??

This is about online clock which show exact time :) And the main thing of this is that time is't freezed, but running.

Nile
02-16-2010, 12:41 PM
Search 'ajax clocks'