Support » Plugin: Meta Box » Display date in one format and save in another format

Viewing 1 replies (of 1 total)
  • Plugin Author Tran Ngoc Tuan Anh

    (@rilwis)

    Hi,

    The documentation is for showing dates in the backend. The filter rwmb_event_begin_meta runs only in the backend.

    If you want to format the date in the frontend, simply use the following code:

    $event_begin = rwmb_meta( 'event_begin' );
    echo date( 'd F, Y', strtotime( $event_begin ) );
Viewing 1 replies (of 1 total)
  • The topic ‘Display date in one format and save in another format’ is closed to new replies.