<?php if ( has_nav_menu( 'top' ) ) { // Check if there's a menu assigned to the 'top' location. ?>
<div class="section-top-menu">
	<div class="row">
		<div class="col-md-3">
			<div class="header-time">
				<i class="fa fa-clock-o"></i>
				<span><?php echo esc_html ( nysu_magazine_current_time(get_option( 'date_format' )) ); ?></span>
			</div>
		</div>
		<div class="col-md-9">
			<div class="header-topmenu"  itemscope itemtype="http://schema.org/SiteNavigationElement">
				<div class="pull-right">
				<?php  
				wp_nav_menu( array( 
					'theme_location' => 'top', 
					'menu_id' => 'topmenu'
				) ); ?>
				</div>
			</div>
		</div>
	</div>
</div>
<?php } // End check for menu. ?>