Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




calendar_week_mod [ WordPress Function ]

calendar_week_mod ( $num )
Parameters:
  • (int) $num Number of day.
Returns:
  • (int) Days since the start of the week.
Defined at:



Get number of days since the start of the week.

Source


<?php
function calendar_week_mod($num) {
    
$base 7;
    return (
$num $base*floor($num/$base));
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics