v5:datetime:adodb_date
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
datetime:adodb_date [2015/11/26 15:18] – mnewnham | datetime:adodb_date [2015/12/03 23:38] – mnewnham | ||
---|---|---|---|
Line 5: | Line 5: | ||
[[http:// | [[http:// | ||
== Syntax == | == Syntax == | ||
- | | + | |
string $format, | string $format, | ||
optional mixed $timestamp = false | optional mixed $timestamp = false | ||
Line 12: | Line 12: | ||
===== Description ===== | ===== Description ===== | ||
- | This function converts a timestamp to a formatted local date. If '' | + | This function converts a timestamp to a formatted local date. If '' |
+ | ------------------------------------- | ||
+ | ===== Usage ====== | ||
+ | <code php> | ||
+ | print adodb_date(' | ||
+ | /* | ||
+ | * Prints 03/ | ||
+ | */ | ||
- | ------------------------------- | + | print adodb_date(' |
+ | /* | ||
+ | * Prints 12/ | ||
+ | */ | ||
+ | |||
+ | print adodb_date(' | ||
+ | /* | ||
+ | * Prints 12/ | ||
+ | */ | ||
+ | </ | ||
+ | ===== Available Formats ===== | ||
The format fields that adodb_date supports: | The format fields that adodb_date supports: | ||
v5/datetime/adodb_date.txt · Last modified: 2023/05/18 18:55 by dregad