English
Includes

Date and Uhrzeit to charge

 

Clemens
Meier
Gültigkeitsbereich: 1970 To 2099
Sommerzeit udn GMT go presently not yet berücksichtigt (would too only then objectively necessary, if one over the computer out times with others Rechnern vergleichen müsste; synchronisieren)

indicated of month's- and Wochentagsnamen are german. Wochennummern to ISO. and naturally can too defined data calculate, where The function the korrekte date again errechnet or. korrigiert.

The Idea comes from the PHP, the The functions date, mktime, time and isdate knows, XProfan but not. but with the I do, need over ands over again Datums- and Uhrzeitberechnungen. And if it only to check is, How long I worked have.
- mktime errechnet The sec since the 01.01.1970 and the angegebenen date
- fdate formiert the date, which through the sec indicated watts.
- now is How mktime, only the always The Time between 01.01.1970 and the moment the Aufrufes accounts
- isdate checks, whether the angegebene date validly is.

particularly The Formatierungsmöglichkeiten of fdate are quite bulkily, so that one with of/ one Programmzeile too The seltsamsten date- and Uhrzeitkonstruktionen hinbekommt, without something nachzurechnen.

More standing in the info.txt drin and the datumuhrzeit.prf stand a couple simply Examples drin.

would be me over Feedback forward

Greeting

Clemens

4 kB
Hochgeladen:03/16/06
Downloadcounter407
Download
 
XProfan 9.1; XP SP2; FF; Editpad
03/16/06  
 




Sven
Bader
i'm floored! not only that I found have I Search, i'm it too of php since dwelt very so with data To calculate. If the code no Bugs has is it perfect
 
06/12/06  
 



Topicdepend: [...] 
 
06/12/06  
 




Sven
Bader
some Lines are with Semikolon abeschlossen, must to the now in Profan? Profan2CPP 1.1 coming with the Unterscheidungen zwsichen 1 and 2 Parameters in the If-request not zurecht or. the C-Compiler meckerte. the could I everything to fix and it functions wonderful.
I use mainly The now() Function to Datumsdistanzen auszurechnen.

i'm noticed, that The functions visible Rechenzeit need in the Profan Interpreter. Optimierungsvorschläge for may part would something like How (60*60) as 3600 To write, faith not the the Compiler here of self optimiert. The Substr$() would I any through mid$() supplant.

Sincerely,
Sven
 
06/12/06  
 




Nico
Madysa
Huh?! Semikolon? Perhaps is the a Possibility of XPSE, i'm not famous, that with the gewöhnlichem (X)Profan goes.
 
Nico Madysa
06/13/06  
 




Nico
Madysa
OK, there itself yet nobody gemeldet has, have I me The thing adopted. following two Lines terminate with Semikolon:
CompileMarkSeparation
monatstage$ = 31,28,31,30,31,30,31,31,30,31,30,31;
monatstageS$ = 31,29,31,30,31,30,31,31,30,31,30,31
e>

there this The only, me aufgefallenen, with Semikolon endenden Lines are, take I, it deals itself thereby circa a mistake in writing or a Schreibgewohnheit from PHP deals.
i'd The Semikolons/Semikoli/Semikola/Semikolen In any drop Remove.
 
Nico Madysa
07/11/06  
 



xpse bemeckert the in function fdate end% twice declared is
 
02/09/07  
 



Hm Michaels function unixtime and Clemens its function now give different values back.
 
02/09/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

13.279 Views

Untitledvor 0 min.
Erhard Wirth06/14/24
Langer01/29/22
rafl02/17/19
Manfred Barei11/11/15
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie