Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bill R
 
Posts: n/a
Default Using the NOW function

The current date and time pulls but it does not specify am or pm. How can I
write a formula that will show the current time as am or pm?
  #2   Report Post  
David Billigmeier
 
Posts: n/a
Default

Format-Cells-'Number' Tab-Custom and enter this formula:

[$-409]mmmm d, yyyy h:mm AM/PM;@


--
Regards,
Dave


"Bill R" wrote:

The current date and time pulls but it does not specify am or pm. How can I
write a formula that will show the current time as am or pm?

  #3   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

It's matter of format, you apply to cell with formula. Both date and time in
Excel are really numbers. P.e. inter into some cell the number 38630.75 -
when you format the cell with this number as "dddd", you get 'Wednesday'
displayed, when you format the cell as "yyyy/mm/d", then you get '2005/10/5'
displayed, when you format same cell as "h:mm:ss", then you get '18:00'
displayed, etc. You simply have to find the right format - probably some
ordinary time format will do (I myself use always 24-hour time).


Arvi Laanemets


"Bill R" wrote in message
...
The current date and time pulls but it does not specify am or pm. How can

I
write a formula that will show the current time as am or pm?



  #4   Report Post  
Bill R
 
Posts: n/a
Default

Thank you! Works Great!

"David Billigmeier" wrote:

Format-Cells-'Number' Tab-Custom and enter this formula:

[$-409]mmmm d, yyyy h:mm AM/PM;@


--
Regards,
Dave


"Bill R" wrote:

The current date and time pulls but it does not specify am or pm. How can I
write a formula that will show the current time as am or pm?

  #5   Report Post  
Myrna Larson
 
Posts: n/a
Default

What is the purpose of the [$-409] at the beginning? I don't find anything
about this in Help. I assume it's a locale specification?

On Wed, 5 Oct 2005 10:11:03 -0700, "David Billigmeier"
wrote:

Format-Cells-'Number' Tab-Custom and enter this formula:

[$-409]mmmm d, yyyy h:mm AM/PM;@

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM
Find a Function to use accross different worksheets R. Hale Excel Worksheet Functions 3 November 25th 04 07:07 AM


All times are GMT +1. The time now is 03:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"