function fmTimestamp($date, $time) { return date("n/j/Y H:i:s A", mktime(fmHour($time), fmMinute($time), fmSeconds($time), fmMonth($date), fmDay($date), fmYear($date))); }
echo '<p>• fmGetAsNumber ( \'PLAT-NO.1234\' ) = ' . fmGetAsNumber('PLAT-NO.1234') . '</p>'; echo '<p>• fmGetAsTime ( \'10:51:22\' ) = ' . fmGetAsTime('10:51:22') . '</p>'; echo '<p>• fmGetAsTimestamp ( \'11/27/1968 10:51:22\' ) = ' . fmGetAsTimestamp('11/27/1968 10:51:22') . '</p>'; echo '<p>• fmGetAsURLEncoded ( \'San Diego\' ) = ' . fmGetAsURLEncoded('San Diego') . '</p>'; echo '<p>• fmGetCurrentDate() = ' . fmGetCurrentDate() . '</p>'; echo '<p>• fmGetCurrentTime() = ' . fmGetCurrentTime() . '</p>'; echo '<p>• fmGetCurrentTimeStamp() = ' . fmGetCurrentTimeStamp() . '</p>'; echo '<p>• fmHour ( \'3:51:22 PM\' ) = ' . fmHour('3:51:22 PM') . '</p>'; echo '<p>• fmInt ( -5.2 ) = ' . fmInt(-5.2) . '</p>'; echo '<p>• fmLeft ( \'Xframe\', 3 ) = ' . fmLeft('Xframe', 3) . '</p>'; echo '<p>• fmLeftWords ( \'This is a test.\', 2 ) = ' . fmLeftWords('This is a test.', 2) . '</p>'; echo '<p>• fmLength ( \'Xframe\' ) = ' . fmLength('Xframe') . '</p>'; echo '<p>• fmLower ( \'This is a test.\' ) = ' . fmLower('This is a test.') . '</p>'; echo '<p>• fmMiddle ( \'Xframe\', 2, 3 ) = ' . fmMiddle('Xframe', 2, 3) . '</p>'; echo '<p>• fmMiddleWords ( \'This is a bigger test.\', 2, 3 ) = ' . fmMiddleWords('This is a bigger test.', 2, 3) . '</p>'; echo '<p>• fmMinute ( \'3:51:22 PM\' ) = ' . fmMinute('3:51:22 PM') . '</p>'; echo '<p>• fmMod ( 27, 11 ) = ' . fmMod(27, 11) . '</p>'; echo '<p>• fmMonth ( \'11/27/1968\' ) = ' . fmMonth('11/27/1968') . '</p>'; echo '<p>• fmMonthName ( \'11/27/1968\' ) = ' . fmMonthName('11/27/1968') . '</p>'; echo '<p>• fmMonthNameShort ( \'11/27/1968\' ) = ' . fmMonthNameShort('11/27/1968') . '</p>'; echo '<p>• fmPatternCount ( \'Xframe\', \'Z\' ) = ' . fmPatternCount('Xframe', 'Z') . '</p>'; echo '<p>• fmPatternCount ( \'This is a test.\', \'a\' ) = ' . fmPatternCount('This is a test.', 'a') . '</p>'; echo '<p>• fmPatternCount ( \'This is a test.\', \'is\' ) = ' . fmPatternCount('This is a test.', 'is') . '</p>'; echo '<p>• fmPatternCount ( \'This is a test.\', \'IS\' ) = ' . fmPatternCount('This is a test.', 'IS') . '</p>'; echo '<p>• fmPosition ( \'Xframe\', "r" ) = ' . fmPosition('Xframe', "r") . '</p>'; echo '<p>• fmPosition ( \'Xframe\', \'Z\' ) = ' . fmPosition('Xframe', 'Z') . '</p>'; echo '<p>• fmProper ( \'this is a test.\' ) = ' . fmProper('this is a test.') . '</p>'; echo '<p>• fmRandom ( 1, 100 ) = ' . fmRandom(1, 100) . '</p>'; echo '<p>• fmRight ( \'Xframe\', 3 ) = ' . fmRight('Xframe', 3) . '</p>'; echo '<p>• fmRightWords ( \'This is a test.\', 2 ) = ' . fmRightWords('This is a test.', 2) . '</p>'; echo '<p>• fmRound ( 123.456, 2 ) = ' . fmRound(123.456, 2) . '</p>';