04-27-2009
Welcome everyone to continue the discussion, express your views on OIOIC.
5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Currently Im trying to write a program that manipulates a class-based object as part of its functionality. However, the perl compiler is complaining that the class's respective package is not returning a true value.
I have done the following
a) Created a new package containing the body of the... (1 Reply)
Discussion started by: JamesGoh
1 Replies
2. Programming
What WGI? WGI is doing what MFC has done, to encapsulate API, BUT WGI uses OIOIC, instead of C++.
to download WGI 1.0.2 source code: Downloads - oic-wgi - Project Hosting on Google Code
node WDialog ---> corresponding MFC's CDialog
node WMenu ---> corresponding MFC's CMenu
node WButton... (0 Replies)
Discussion started by: pervise.zhao
0 Replies
3. Shell Programming and Scripting
i am new to Perl CGI Object oriented.
I want to use some java script in my Perl CGI but i am not able to do that.
I am using Submit button then via param() i am getting all field parameters.
But i want to validate all fields first then i want to move. But Use of Java script, i don't know (1 Reply)
Discussion started by: Navrattan Bansa
1 Replies
4. UNIX for Dummies Questions & Answers
Got this error when starting nrpe
Starting nagios-nrpe: nagios-nrpe/usr/sbin/nrpe: error while loading shared libraries: libssl.so.0.9.8:
Pls advise
---------- Post updated at 04:05 PM ---------- Previous update was at 04:05 PM ----------
os is Debian lenny
---------- Post updated... (1 Reply)
Discussion started by: lhareigh890
1 Replies
5. UNIX for Beginners Questions & Answers
I have a strange problem with (t)csh since the latest opensuse/tumbleweed upgrade. csh and tcsh don't source the init files completely. They seem to terminate after sourcing the first nested file.
They process the code in /etc/csh.cshrc until they find a command like source... (3 Replies)
Discussion started by: heiko123
3 Replies
LEARN ABOUT PHP
datetimeimmutable.format
DATETIMEIMMUTABLE.FORMAT(3) 1 DATETIMEIMMUTABLE.FORMAT(3)
DateTime::format - Returns date formatted according to given format
Object oriented style
SYNOPSIS
public string DateTime::format (string $format)
DESCRIPTION
string DateTimeImmutable::format (string $format) string DateTimeInterface::format (string $format)
Procedural style
string date_format (DateTimeInterface $object, string $format)
Returns date formatted according to given format.
PARAMETERS
o $object
-Procedural style only: A DateTime object returned by date_create(3)
o $format
- Format accepted by date(3).
RETURN VALUES
Returns the formatted date string on success or FALSE on failure.
EXAMPLES
Example #1
DateTimeImmutable.format(3) example
Object oriented style
<?php
$date = new DateTime('2000-01-01');
echo $date->format('Y-m-d H:i:s');
?>
Procedural style
<?php
$date = date_create('2000-01-01');
echo date_format($date, 'Y-m-d H:i:s');
?>
The above example will output:
2000-01-01 00:00:00
NOTES
This method does not use locales. All output is in English.
SEE ALSO
date(3).
PHP Documentation Group DATETIMEIMMUTABLE.FORMAT(3)