How to get only the date without the time in the footer of a printout?
Is there a way to get only the date without the time in the footer of a printout?
As far as I can tell, there's no built-in option to get the date printed without the time. It's hardcoded in a C++ file.
As a workaround, you can enter custom text for the footer, but it would need to be updated every time the date changed. I can think of a couple ways to automate that:
* An add-on (but I'm not aware of any add-on for this)
* External process to push a new date into prefs.js, a settings file that stores your header/footer preferences, among others (but Firefox should be closed when you update this file, and it will be read when you restart)
Not easy enough, I know.
Similar Messages
-
How to get last Build date of a dll in the real time target
Info On My Project
I am working on LabWindows CVI 12.0 for development . This project is a real time application for hardware, which is having Phar Lap ETS as RTOS...
I am facing some problems while checking Build date of my Application file( .dll)
I have tried to use GetFileDate API. But it is not supporting for realtime Target..
So i have tried __DATE__ macro.. That also having some problems..
How to get last Build date of a dll from the real time target ??
Please Help to solve this....
Thanks
Vaishakh A KPlease reply if any one have suggestion...
-
How to get only partial text of a paragraph into the table of content?
Hi guys,
currently I'm working on a manuscript based on the publication manual of the American Psychological Association.
Unfortunately, there is some sort of heading that's placed right in front of further text. Here an example:
+This is my heading.+ Now ordinary text formatted differently should follow.
Does anyone here know, how to get the text of the heading (but not the following text) into the table of content? For as far as I know I can't format the heading as a different paragraph than the following text.
By the way, I use pages'08.
Thanks for your helpHi Dennis,
thanks for your suggestion, unfortunately I already tried that and it didn't work. I have created several unique styles. Problem is, I need two diferent styles in *one paragraph* - one style for the "heading", which is consistent to the APA manual not an own paragraph (sorry, not my idea...), and another style for the following text. As my example above shows, the heading is followed by usual text and I may not press return after the heading and switch to a new paragraph..
It has to look exactly like this:
+heading in italics.+ Now heading is followed by usual text without changing the paragraph or starting a new line. Blurb blurb blurb whatsoever blurb blurb. The text goes on an on and an on you see.
I can't format the heading differently than the text (because if I try, the whole paragraph is formatted this way) and so I can't add just the heading to the TOC. Do you see what my problem is? Got any other suggestion? -
How to open only one clip at a time in the source monitor?
Ok the answer to this question may be simple.. hopefully...
At the moment each time I open a clip in the source monitor it adds it to the dropdown list.
Fine... but I am opening and closing hundreds of clips in a day and after a while I noticed it seemed to be slowing down the whole PPCS5.5 system.
It appears that PP seems to be keeping each clip I open... active.
Is there a way to allow only one clip to be open at a time in the source monitor... other than having to close them all first??? (would be ideal if there was some kind of shortcut like shift-doubleclick)SonyZ7's can record to compact flash cards as well as tape, so I generally log and transfer from the cards.
So I guess I should do a bit more research on workflow's in Pr
No probs, here's a bunch of MediaInfo...
General
Complete name : /Volumes/Rugged 1TB/Business/WAPLES 10.October/Check It 2011 Event/Check It 2011 event footage/001 CheckIt2011.mov
Format : MPEG-4
Format profile : QuickTime
Codec ID : qt
File size : 195 MiB
Duration : 1mn 0s
Overall bit rate : 26.9 Mbps
Encoded date : UTC 2011-09-08 21:37:37
Tagged date : UTC 2011-10-28 11:50:04
Writing library : Apple QuickTime
Original source medium : Check It event CF2
©TSC : 2500
©TSZ : 100
Video
ID : 1
Format : DV
Codec ID : hdv3
Duration : 1mn 0s
Bit rate : 25.0 Mbps
Width : 1 416 pixels
Original width : 1 440 pixels
Height : 1 062 pixels
Original height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:2
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.665
Stream size : 181 MiB (93%)
Language : English
Encoded date : UTC 2011-09-08 21:37:37
Tagged date : UTC 2011-09-08 21:37:37
Material_Duration : 61560
Material_StreamSize : 192330610
Material_FrameCount : 1539
Audio #1
ID : 2
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : sowt
Duration : 1mn 0s
Bit rate mode : Constant
Bit rate : 768 Kbps
Channel(s) : 1 channel
Channel positions : Front: L
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 5.57 MiB (3%)
Language : English
Encoded date : UTC 2011-09-08 21:37:37
Tagged date : UTC 2011-09-08 21:37:37
Material_Duration : 61560
Material_StreamSize : 5909760
Audio #2
ID : 3
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : sowt
Duration : 1mn 0s
Bit rate mode : Constant
Bit rate : 768 Kbps
Channel(s) : 1 channel
Channel positions : Front: R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 5.57 MiB (3%)
Language : English
Encoded date : UTC 2011-09-08 21:37:37
Tagged date : UTC 2011-09-08 21:37:37
Material_Duration : 61560
Material_StreamSize : 5909760
Menu
ID : 4
Language : English
Encoded date : UTC 2011-09-08 21:37:37
Tagged date : UTC 2011-09-08 21:37:37 -
How to get only latest date and other columns from table
Hi,
Table
id name date
123 a 2/3/2010
124 b 15/2/2010
125 c 1/1/2010
123 a 12/4/2010
125 c 17/2/2010
this is a table, here id,name,date is composite key.
I want to select id,name and date so that latest date (e.g., for id 123 date 12/4/2010 be selected) is selected for each id and each id and name should be selected once.
So what will be its query?
ThanksHi,
user12222356 wrote:
SQL> select id id,name name,max(dt) over 0 from temp2;
select id id,name name,max(dt) over 0 from temp2
ERROR at line 1:
ORA-00923: FROM keyword not found where expectedWhat is over 0?That should be
... OVER ( )with a pair of parentheses.
Almost all aggregate functions (including MAX) also have analytic counterparts. The parser knows that you're using the analytic version if the keyword OVER, followed by an analytic clause in parentheses, comes after the argument. In this case, the default analytic clause is being used, so there's no need to put anything in the parentheses, but syntax still requires that they be there. -
Why the data inserted two times into the DB?
Hai all,
When I press the submit button in my form the data will be inserted two timesinto DB. Please help me.
import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import com.vguss.bean.RegisterInfoBean; import com.vguss.helper.Out; public class InsertRegInfo { public static Connection connection = DBConnection.getDBConnection(); public static void insertRegData(RegisterInfoBean bean) { Connection connection = DBConnection.getDBConnection(); String loginID = bean.getLoginId(); try { PreparedStatement pst = connection .prepareStatement("SELECT login_id FROM login_details WHERE login_id = ?"); pst.setString(1, loginID); ResultSet set = pst.executeQuery(); if (!set.next()) { insertData(bean); } } catch (SQLException e1) { e1.printStackTrace(); } } private static void insertData(RegisterInfoBean bean) { try { PreparedStatement ps = connection .prepareStatement("INSERT INTO login_details (login_id, password, profile_created_by, security_question, answer, full_name, receive_sms, show_details, agree_terms, register_on) VALUES (?,?,?,?,?,?,?,?,?,now())"); ps.setString(1, bean.getLoginId()); ps.setString(2, bean.getPassword()); ps.setString(3, bean.getProf_created_by()); ps.setString(4, bean.getSecurity_Question()); ps.setString(5, bean.getAnswer()); ps.setString(6, bean.getFullName()); ps.setString(7, bean.getLikeSMS()); ps.setString(8, bean.getShowDetails()); ps.setString(9, bean.getAgreeToTerms()); ps.executeUpdate(); PreparedStatement pstmt = connection .prepareStatement("INSERT INTO user_profile (login_id, gender, email, date_of_birth) VALUES (?, ?, ?, ?)"); pstmt.setString(1, bean.getLoginId()); pstmt.setString(2, bean.getGender()); pstmt.setString(3, bean.getEmailID()); pstmt.setString(4, bean.getDateOfBirth()); pstmt.executeUpdate(); /* insert login id to preferred_partner table */ PreparedStatement pStmt = connection .prepareStatement("INSERT INTO preferred_partner (login_id) VALUES(?)"); pStmt.setString(1, bean.getLoginId()); pStmt.executeUpdate(); } catch (SQLException e) { Out.err(e); } } }The most obvious thought is that you have a duplicate login id.
You're trying, but I would not consider this to be well written code, for these reasons:
1. You don't close any JDBC resources in finally blocks - no connections, no statements, no result sets. Search the forum for people with "max open cursors exceeded" to see why this is a bad idea.
2. You create a static Connection in this class, but nobody closes it. Classes that execute SQL should not be responsible for obtaining connections; a Connection should be provided to them. Transactions are the reason: a class executing SQL can't know if it's involved in a unit of work with other classes. Somebody who knows the use case and the transaction boundaries ought to be getting the Connection, handling commit/rollback, and closing the Connection.
3. Refactor that INSERT into three methods. You'll be glad you did someday.
4. Your INSERT method looks like it's doing a security check, too. Isn't it a little late for that? If you must, move that code into a separate method that returns a boolean. A well-designed method does one thing well. Yours is doing two.
5. The common JDBC idiom isn't "if (!set.next())", it's "while (set.next())". It's good to use common idioms, because it makes it easier for other people to understand your code.
But see if you have a repeated login ID.
And step through in a debugger to see what's going on.
% -
How do I set up a .pdf form to save filled data without having to print the form?
How do I set up a .pdf form to save filled data without having to print the form? I have provided my clients a lifecycle .pdf form they can use to record data for unique client meetings. They want the ability to save their completed data whenever they use the form under a unique file name. I've told them the only way I know how to do this is to print the completed form as a .pdf document and then save it.
Is their a way to save the data to a unique file name without printing the filled form?
Is there a way to reset the form with blank fields after saving? or to add a clear fields button?
Thanks.If you reader extend a pdf using livecycle reader extensions then you can save the filled in data - this is true if you are using Adobe reader to view the PDF's. If you open it in Acrobat then the functionality is already there.
-
How to only show data that hasn't passed the current data?
I have some data in an xml file. I can get it to connect fine to an .html page. My question is how do I only show the data that hasn't passed the current date? Can this be done?
The following is the XML file
<?xml version="1.0" encoding="utf-8"?>
<sports>
<item>
<date>2010-03-21</date>
<opponet>Essendon</opponet>
<location>MCG</location>
<time></time>
</item>
<item>
<date>2011-01-11</date>
<opponet>Collingwood</opponet>
<location>Etihad</location>
<time></time>
</item>
<item>
<date>2011-03-04</date>
<opponet>Carlton</opponet>
<location>Princes Park</location>
<time></time>
</item>
<item>
<date>2011-03-08</date>
<opponet>Sydney</opponet>
<location>SCG</location>
<time></time>
</item>
<item>
<date>2011-03-21</date>
<opponet>Brisbane</opponet>
<location>Gabba</location>
<time></time>
</item>
</sports>
The following is the HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="SpryAssets/xpath.js" type="text/javascript"></script>
<script src="SpryAssets/SpryData.js" type="text/javascript"></script>
<script type="text/javascript">
function pad(number, length) {
var str = '' + number;
while (str.length < length) {
str = '0' + str;
return str;
var dt= new Date()
var today = dt.getFullYear()
+ '-' + pad(dt.getMonth()+1,2)
+ '-' + pad(dt.getDate(),2);
var ds1 = new Spry.Data.XMLDataSet("asdf.xml", "sports/item[date > '"+today+"']", {sortOnLoad: "date", sortOrderOnLoad: "ascending", useCache: false});
alert (today);
</script>
</head>
<body>
<div spry:region="ds1">
<table>
<tr>
<th spry:sort="date">Date</th>
<th spry:sort="opponet">Opponet</th>
<th spry:sort="location">Location</th>
<th spry:sort="time">Time</th>
</tr>
<tr spry:repeat="ds1" spry:odd=".atl" spry:hover=".alt">
<td>{date}</td>
<td>{opponet}</td>
<td>{location}</td>
<td>{time}</td>
</tr>
</table>
</div>
</body>
</html>
Gramps -
I loos my APPLE ID, Now I have a new one, how can get access to data stored in the old one?
Do you have the email & password of the old Apple ID?
-
How to get backed up data in iphone3gs when the phone is disabled
how to get backed up data in iphone3gs when the phone is disabled
can someone help? this is shaking my trust in icloud backups.
i am on iOS 6.1. -
''duplicate - https://support.mozilla.com/en-US/questions/834814''
What is the custom print option within Firefox to print the date without the time?
(e.g. 04/08/2010 instead of 04/08/2010 11:15, noting that using the custom print option "&D", also includes the time...)Firefox can have multiple home pages if you wish. Each home page that will open when starting Firefox is separated by the "|" character.
See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
To have new tabs open a specific web site, add one of the following extensions:
http://sogame.awardspace.com/newtaburl/
https://addons.mozilla.org/en-US/firefox/addon/777 -
How to get only the first result in extract function
do you know how to get only the first element of the function extract.
v_result := p_response.doc.extract('//'||p_name||'/child::text()').getstringval();
if i have 5 responses like '100','100',100','200','200' e get '100100100200200' and i want only '100'.
thanks in advanceTwo ways .....
1. Use Javascript E4X instead ...there are nice functions for getting children of parents.
2. Cycle through all of the form1.nodes and look for objects that have a className of "subform". For loops are useful for this task.
Make sense?
Paul -
My friend borrowed my iPhone. I want to sell the iPhone, but first I have to erase all the data that belong too my friend. I don't know his password and he doesn't know either. Is it possible to erase the data without using a password?
thanks!You need the password if it is iCloud locked you won't be able to activate the phone for use.
As long as he remembers his email, you can reset the password
If you forgot your Apple ID password
or Forgot Apple ID
https://iforgot.apple.com/appleid
If it is a lock screen password, you can do a restore.
Hold down power and home for 10 seconds and release power but keep holding down home. iTunes will say your phone is in recovery mode so you can restore it. -
How do I stop the date changing every time I edit a photo?
I have recently scanned a number of photos from negatives, and assigned a date to them in the organiser. If I subsequently go in and re-edit a photograph, the date reverts to the date of this modification and I lose the date I originally assigned. I have tried unchecking the box Use Date File was Last Modified if no EXIF Date Found, but to no effect. Curiously, this only happens to photos where the day of the month is unknown - so a photo I have dated 4/6/1972 remains unchanged, but a photo dated 6/1972 reverts to the date of the latest modification. How do I get Elements to leave the date I have assigned to the photo? Thanks.
[Oops, hit send too early.]
David,
This appears to be another instance of a known bug in the last several versions of PSE. When you invoke the Editor or the Edit > Update Thumbnails command, PSE rereads the date/time from the file's metadata back into the catalog (who knows why it does that). Normally, when you invoke Edit > Adjust Date And Time, PSE immeditely writes the date/time into the file's metadata; so when you then invoke the Editor, it doesn't matter that PSE rereads the date/time from the metadata back into the catalog. But if the Edit > Adjust Date And Time command fails to write the date/time into the metadata for some reason, then when you invoke the Editor, PSE will overwrite the date/time in the catalog with the old date/time from the metadata -- precisely what you're observing.
There are several reasons why the Adjust Date And Time command can silently fail to write the date/time to the metadata:
- PSE doesn't understand the file type or the file type doesn't support metadata (BMP, PDF, Quicktime, PNG).
- The file is marked readonly.
- A bug in PSE's metadata handling prevents it from writing the date/time. PSE has many bugs in its metadata handling.
I'm guessing that it's the last reason that you're encountering.
Suggestion: Upload one of the problem photos to www.pixentral.com (free) and post the URL here. I'll take a look at it and see if I can reproduce the problem in my PSE. -
I want to get the data of a table inside the Form but it is not passed
I want to get the data of a table inside the Form but it is not passed to the form by tables parameters.
How can I do this.
RegardsIf there is a problem with defining it globaly, you can define a field symbol globably and point to it. For example. It would probably be better to define your table globably.
report zrich_0003 .
field-symbols: <imarc> type marc_upl_tt.
start-of-selection.
perform get_data.
* FORM get_data *
form get_data.
data: imarc type table of marc with header line.
select * from marc into table imarc up to 10 rows.
assign imarc[] to <imarc>.
perform write_data.
endform.
* FORM write_data *
form write_data.
data: xmarc type marc.
loop at <imarc> into xmarc.
write: / xmarc-matnr, xmarc-werks.
endloop.
endform.
Regards,
Rich Heilman
Maybe you are looking for
-
A Trojan virus attached to an email that I never opened, but it was in my window as I scrolled through my emails just like the other emails. I don't recall opening it, but if I did I would NEVER open an attachment, not even from people I know, unless
-
Cash discount not accepted while posting in outgoing payments(F-53)
Hi, Here i entered Invoice Rs.50,000 in FB60 through terms of 002, Againest this invoice i make a payment in F-53 on the same day so i get Rs.1500 as discount againest this invoice. acctually entry like as below Vendor account Dr 50,000 To
-
Webutil_file_transfer.Client_to_as
Hi, I have a form that used the webutil in particular I use ' webutil_file_transfer.Client_to_as. After I use this function, the client file is locket. I cannot delete, rename or modify this file. The file is unlocked only if I exit the form. How I
-
Sync between Gmail and e71 via Mail for exchange: ...
Hey! I've been following the instructions but here's what I get: "Unable to connect to server. Verify your connection settings or try again later". I'm using my Wi-fi connection at home which always work, also to retrive emails from the same device (
-
Help with OBIEE reports on Oracle 11g Cube
Hi, We have created a 4-Dimensional Oracle 11g cube using AWM 11g and have integrated that with the OBIEE repository using the Dimension Hierarchy views as created by AWM. Now, when we create a "table" type of report with this cube in OBIEE Answers,