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>• 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>'; echo '<p>• fmRound ( 123.456, -2 ) = ' . fmRound(123.456, -2) . '</p>'; echo '<p>• fmSeconds ( \'3:51:22 PM\' ) = ' . fmSeconds('3:51:22 PM') . '</p>'; echo '<p>• fmSerialIncrement ( \'abc12\', 1 ) = ' . fmSerialIncrement('abc12', 1) . '</p>'; echo '<p>• fmSerialIncrement ( \'abc12\', 7 ) = ' . fmSerialIncrement('abc12', 7) . '</p>'; echo '<p>• fmSerialIncrement ( \'abc12\', -1 ) = ' . fmSerialIncrement('abc12', -1) . '</p>'; echo '<p>• fmSerialIncrement ( \'abc12\', 1.2 ) = ' . fmSerialIncrement('abc12', 1.2) . '</p>'; echo '<p>• fmStripTags ( \'This is <bold>bold text</bold>. Or not.\' ) = ' . fmStripTags('This is <bold>bold text</bold>. Or not.') . '</p>'; echo '<p>• fmStripTags ( \'This is a <a href="http://www.test.com/">link</a>. Or not.\' ) = ' . fmStripTags('This is <a href="http://www.test.com/">link</a>. Or not.') . '</p>'; echo '<p>• fmSubstitute ( \'Xframe\', "ram", "stu" ) = ' . fmSubstitute('Xframe', "ram", "stu") . '</p>'; echo '<p>• fmTime ( 10, 51, 22 ) = ' . fmTime(10, 51, 22) . '</p>'; echo '<p>• fmTimestamp ( fmGetAsDate ( \'5/1/2007\' ), fmGetAsTime ( \'10:51:22\' ) ) = ' . fmTimestamp(fmGetAsDate('5/1/2007'), fmGetAsTime('10:51:22')) . '</p>'; echo '<p>• fmTrim ( \' This is a test. \' ) = ' . fmTrim(' This is a test. ') . '</p>'; echo '<p>• fmTruncate ( -14.6, 0 ) = ' . fmTruncate(-14.6, 0) . '</p>'; echo '<p>• fmTruncate ( 123.456, 2 ) = ' . fmTruncate(123.456, 2) . '</p>'; echo '<p>• fmTruncate ( 123.456, 4 ) = ' . fmTruncate(123.456, 4) . '</p>'; echo '<p>• fmTruncate ( 29343.98, -3 ) = ' . fmTruncate(29343.98, -3) . '</p>'; echo '<p>• fmUpper ( \'This is a test.\' ) = ' . fmUpper('This is a test.') . '</p>';