Time question

I have both of my systems transmitting my call and the time every hour.
Its states it in 12 hour fomat. How can I get it to do it in24hour format ? The clock on the Beagle is set for 24 hour format.

Thank you

Mike AE4ML

···


“We must reject the idea that every time a law is broken, society is guilty rather than the law breaker.It is time to restore the American precept that each individual is accountable for his actions.” ~ Ronald Regan

Mike,
The short answer is you can’t. The script is setup to say 12 hour format with AM/PM. It could be changed but I have no desire or time to do that right now. If someone else wants to tackle it I would be glad to include it in the distribution. /etc/asterisk/saytime.pl is a Perl script I wrote that says the time outside of app_rpt so you can alter that anyway you like as well as set the volume. I would be glad to assist anyone if they want to modify that code for say a say24time.pl script that could be called.
73 Doug
WA3DSP
http://www.crompton.com/hamradio

···

Date: Fri, 19 Sep 2014 20:33:59 -0400
From: mike.lussier@gmail.com
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Time question

I have both of my systems transmitting my call and the time every hour.
Its states it in 12 hour fomat. How can I get it to do it in24hour format ? The clock on the Beagle is set for 24 hour format.

Thank you

Mike AE4ML


“We must reject the idea that every time a law is broken, society is guilty rather than the law breaker.It is time to restore the American precept that each individual is accountable for his actions.” ~ Ronald Regan


App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.

/etc/localtime is a symbolic link to the timezone and maybe I am reading you wrong do you want zulu time to read out or do you want to read out the time in 24 hour format. That is two different things.
24 hour format or military style time is 1000, 1100, 1200, 1300 etc. No AM/PM That is what I thought you meant.
73 Doug
WA3DSP
http://www.crompton.com/hamradio

···

Date: Fri, 19 Sep 2014 20:33:59 -0400
From: mike.lussier@gmail.com
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Time question

I have both of my systems transmitting my call and the time every hour.
Its states it in 12 hour fomat. How can I get it to do it in24hour format ? The clock on the Beagle is set for 24 hour format.

Thank you

Mike AE4ML


“We must reject the idea that every time a law is broken, society is guilty rather than the law breaker.It is time to restore the American precept that each individual is accountable for his actions.” ~ Ronald Regan


App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.

yes.
73 Doug
WA3DSP
http://www.crompton.com/hamradio

···

From: kk6ecm@gmail.com
To: doug@crompton.com
Subject: RE: [App_rpt-users] Time question
Date: Fri, 19 Sep 2014 21:49:13 -0700

forgive me for a correction, but I believe
you meant to say /etc/asterisk/local/saytime.pl

Thanks,

Bob

kk6ecm


From:
app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Doug Crompton
Sent: Friday, September 19, 2014
9:18 PM
To: Mike Lussier
Cc: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Time
question

Mike,
The short answer is you can’t. The script is setup to say 12 hour
format with AM/PM. It could be changed but I have no desire or time to do that
right now. If someone else wants to tackle it I would be glad to include it in
the distribution. /etc/asterisk/saytime.pl is a Perl script I wrote
that says the time outside of app_rpt so you can alter that anyway you like as
well as set the volume. I would be glad to assist anyone if they want to modify
that code for say a say24time.pl script that could be called.
73 Doug
WA3DSP
http://www.crompton.com/hamradio


Date: Fri, 19 Sep 2014 20:33:59
-0400

From: mike.lussier@gmail.com

To: app_rpt-users@ohnosec.org

Subject: [App_rpt-users] Time question

I have both of my systems transmitting my call and
the time every hour.

Its states it in 12 hour fomat.
How can I get it to do it in24hour format ? The clock on the Beagle is set for
24 hour format.

Thank you

Mike AE4ML

“We must reject the idea that every time a law is
broken, society is guilty rather than the law breaker.It is time to restore the
American precept that each individual is accountable for his actions.” ~
Ronald Regan

_______________________________________________ App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from
this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
and scroll down to the bottom of the page. Enter your email address and press
the “Unsubscribe or edit options button” You do not need a password
to unsubscribe, you can do it via email confirmation. If you have trouble
unsubscribing, please send a message to the list detailing the problem.

Yes, 24 hour format 1300 1400 1500

···

Sent from an iPhone 5

On Sep 20, 2014, at 00:22, Doug Crompton doug@crompton.com wrote:

/etc/localtime is a symbolic link to the timezone and maybe I am reading you wrong do you want zulu time to read out or do you want to read out the time in 24 hour format. That is two different things.
24 hour format or military style time is 1000, 1100, 1200, 1300 etc. No AM/PM That is what I thought you meant.
73 Doug
WA3DSP
http://www.crompton.com/hamradio


Date: Fri, 19 Sep 2014 20:33:59 -0400
From: mike.lussier@gmail.com
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Time question

I have both of my systems transmitting my call and the time every hour.
Its states it in 12 hour fomat. How can I get it to do it in24hour format ? The clock on the Beagle is set for 24 hour format.

Thank you

Mike AE4ML


“We must reject the idea that every time a law is broken, society is guilty rather than the law breaker.It is time to restore the American precept that each individual is accountable for his actions.” ~ Ronald Regan


App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.

OK, It turns out it was easier than I thought. Here is a test script. Let me know if it works right for you. I am sure this may be some tweaks. Once OK I will include it in the next distribution.
Just call it with say24time.pl instead of saytime.pl - CHANGE THE NODE in the file!!!
73 Doug
WA3DSP
http://www.crompton.com/hamradio

say24time.pl (3.53 KB)

···

Date: Fri, 19 Sep 2014 20:33:59 -0400
From: mike.lussier@gmail.com
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Time question

I have both of my systems transmitting my call and the time every hour.
Its states it in 12 hour fomat. How can I get it to do it in24hour format ? The clock on the Beagle is set for 24 hour format.

Thank you

Mike AE4ML


“We must reject the idea that every time a law is broken, society is guilty rather than the law breaker.It is time to restore the American precept that each individual is accountable for his actions.” ~ Ronald Regan


App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.

Slight correction. The 0 minute said oclock instead of hundred - 13 hunderd, 14 hundred etc… Use this version for tests.
73 Doug
WA3DSP
http://www.crompton.com/hamradio

say24time.pl (3.53 KB)

···

From: doug@crompton.com
To: mike.lussier@gmail.com
Date: Sat, 20 Sep 2014 11:51:54 -0400
CC: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Time question

OK, It turns out it was easier than I thought. Here is a test script. Let me know if it works right for you. I am sure this may be some tweaks. Once OK I will include it in the next distribution.
Just call it with say24time.pl instead of saytime.pl - CHANGE THE NODE in the file!!!
73 Doug
WA3DSP
http://www.crompton.com/hamradio


Date: Fri, 19 Sep 2014 20:33:59 -0400
From: mike.lussier@gmail.com
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Time question

I have both of my systems transmitting my call and the time every hour.
Its states it in 12 hour fomat. How can I get it to do it in24hour format ? The clock on the Beagle is set for 24 hour format.

Thank you

Mike AE4ML


“We must reject the idea that every time a law is broken, society is guilty rather than the law breaker.It is time to restore the American precept that each individual is accountable for his actions.” ~ Ronald Regan


App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.


App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.